mirror of git://git.sv.gnu.org/nano.git
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