Add built-in functions
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This is a good proxy test to ensure that scope queries work correctly.
This commit is contained in:
parent
073ff80adb
commit
2d89ec8b20
2 changed files with 26 additions and 0 deletions
|
|
@ -1,3 +1,10 @@
|
|||
; Built-ins {{{
|
||||
((function_call
|
||||
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))
|
||||
; }}}
|
||||
|
||||
; Keywords {{{
|
||||
[
|
||||
"function"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue