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.master
parent
4f9bebddec
commit
fd9f6e4619
|
@ -21,7 +21,6 @@ pkgdata_DATA = asm.nanorc \
|
||||||
lua.nanorc \
|
lua.nanorc \
|
||||||
makefile.nanorc \
|
makefile.nanorc \
|
||||||
man.nanorc \
|
man.nanorc \
|
||||||
mgp.nanorc \
|
|
||||||
nanohelp.nanorc \
|
nanohelp.nanorc \
|
||||||
nanorc.nanorc \
|
nanorc.nanorc \
|
||||||
nftables.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