mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 05:11:35 +03:00
syntax: mgp: drop the almost-empty MagicPoint file and syntax
It colored any word after a % sign. But a good syntax would color only the valid commands, and also the ones after a comma.
This commit is contained in:
parent
4f9bebddec
commit
fd9f6e4619
@ -21,7 +21,6 @@ pkgdata_DATA = asm.nanorc \
|
||||
lua.nanorc \
|
||||
makefile.nanorc \
|
||||
man.nanorc \
|
||||
mgp.nanorc \
|
||||
nanohelp.nanorc \
|
||||
nanorc.nanorc \
|
||||
nftables.nanorc \
|
||||
|
@ -1,9 +0,0 @@
|
||||
## Here is an example for Magicpoint presentations.
|
||||
|
||||
syntax mgp "\.mgp$"
|
||||
header "^%include.*"
|
||||
comment "#"
|
||||
|
||||
color green "^%[A-Za-z].*"
|
||||
color cyan "(^|[[:space:]])(#|%%).*"
|
||||
color ,green "[[:space:]]+$"
|
Loading…
Reference in New Issue
Block a user