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:
Bruno BELANYI 2022-06-03 22:04:28 +02:00
parent 2d89ec8b20
commit 3e1068a336
3 changed files with 22 additions and 6 deletions

View file

@ -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 {{{