s/macros/syntax/

master
mryouse 7 months ago
parent 6cf3e01217
commit e3aff7ae54

@ -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 " ")))

Loading…
Cancel
Save