|
|
|
@ -7,8 +7,8 @@
|
|
|
|
|
(def all-funcs (map (lambda (x) (last (split x " ")))(map ->string (funcs))))
|
|
|
|
|
|
|
|
|
|
; statements get highlighted differently
|
|
|
|
|
(def all-stmts (map (lambda (x) (last (split x " ")))(map ->string (macros))))
|
|
|
|
|
(def all-syntax (map (lambda (x) (last (split x " ")))(map ->string (syntax))))
|
|
|
|
|
|
|
|
|
|
(print "\n\" generated by vim-syntax-maker.neb")
|
|
|
|
|
(print (concat "syn keyword nebFunc " (join all-funcs " ")))
|
|
|
|
|
(print (concat "syn keyword nebCommand " (join all-stmts " ")))
|
|
|
|
|
(print (concat "syn keyword nebCommand " (join all-syntax " ")))
|
|
|
|
|