diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-05-13 12:37:22 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-05-15 14:13:31 +0200 |
commit | 0dbed7132b559b3e8419c0e59ca553e5921d6a90 (patch) | |
tree | fcc4b598f4a557332e6308a61bc90a3e7804c5a3 /runtime/queries/lua/highlights.scm | |
parent | 33687f5e87a0f048f7bc02d4658e58ef8cc0fd49 (diff) | |
download | rneovim-0dbed7132b559b3e8419c0e59ca553e5921d6a90.tar.gz rneovim-0dbed7132b559b3e8419c0e59ca553e5921d6a90.tar.bz2 rneovim-0dbed7132b559b3e8419c0e59ca553e5921d6a90.zip |
build(deps): update lua parser and queries
Diffstat (limited to 'runtime/queries/lua/highlights.scm')
-rw-r--r-- | runtime/queries/lua/highlights.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/queries/lua/highlights.scm b/runtime/queries/lua/highlights.scm index 5fbf8a1833..537a171441 100644 --- a/runtime/queries/lua/highlights.scm +++ b/runtime/queries/lua/highlights.scm @@ -127,8 +127,14 @@ (identifier) @variable +((identifier) @constant.builtin + (#eq? @constant.builtin "_VERSION")) + ((identifier) @variable.builtin - (#any-of? @variable.builtin "_G" "_VERSION" "debug" "io" "jit" "math" "os" "package" "self" "string" "table" "utf8")) + (#eq? @variable.builtin "self")) + +((identifier) @namespace.builtin + (#any-of? @namespace.builtin "_G" "debug" "io" "jit" "math" "os" "package" "string" "table" "utf8")) ((identifier) @keyword.coroutine (#eq? @keyword.coroutine "coroutine")) @@ -210,5 +216,7 @@ (string) @string @spell +(escape_sequence) @string.escape + ;; Error (ERROR) @error |