commit 674b509b21c8c9c105f3e1e705fc1b6d97714d94
parent e7c6efcda5e1ce0cc281223e079b9aadd35c8ff2
Author: Ed van Bruggen <edvb@uw.edu>
Date: Sat, 9 Jan 2021 00:52:33 -0800
Add more syntax functions
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/syntax/tisp.vim b/syntax/tisp.vim
@@ -26,8 +26,8 @@ syn keyword tispSyntax not and or nand nor
syn keyword tispSyntax typeof Void Bool Pair Int Dec Str Sym get
" functions
-syn keyword tispFunc any? nil? empty? void? atom? string? symbol?
-syn keyword tispFunc function? primitive? macro? procedure? pair? cons? list?
+syn keyword tispFunc any? nil? empty? void? atom? string? symbol? pair? cons? list?
+syn keyword tispFunc function? specialform? primitive? macro? builtin? procedure?
syn keyword tispFunc integer? ratio? decimal? rational? number?
syn keyword tispFunc boolean? true? false?
syn keyword tispFunc version repl ans doc default
@@ -44,7 +44,7 @@ syn keyword tispFunc arccsc arccsch arcsec arcsech arccot arccoth
syn keyword tispFunc negative? positive? zero? even? odd?
" i/o
-syn keyword tispFunc read parse write run print println display displayln newline
+syn keyword tispFunc read parse write save open run print println display displayln newline
syn keyword tispNumber stdout stderr
" list
@@ -78,7 +78,7 @@ syn match tispNumber "[+-]\=\(\d\+/\d\+\)"
syn match tispSymbol ,\k+, contained
-syn keyword tispBoolean True () Nil False
+syn keyword tispBoolean True () Nil False it
syn cluster tispNormal contains=tispSyntax,tispFunc,tispDelimiter
syn cluster tispQuotedStuff contains=tispSymbol