Add built-in types
Not sure why it seems like the 'is-not? local' is not working. Will investigate later
This commit is contained in:
parent
2d89ec8b20
commit
3e1068a336
3 changed files with 22 additions and 6 deletions
|
|
@ -3,6 +3,10 @@
|
|||
function: (identifier) @function.builtin)
|
||||
(#match? @function.builtin "^(chr|concat|exit|flush|getchar|not|ord|print|print_err|print_int|size|strcmp|streq|substring)$")
|
||||
(#is-not? local))
|
||||
|
||||
((type_identifier) @type.builtin
|
||||
(#match? @type.builtin "^(int|string)$")
|
||||
(#is-not? local))
|
||||
; }}}
|
||||
|
||||
; Keywords {{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue