diff options
| -rw-r--r-- | .config/nvim/after/queries/php/highlights.scm | 1 | ||||
| -rw-r--r-- | .config/nvim/after/queries/typescript/highlights.scm | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/after/queries/php/highlights.scm b/.config/nvim/after/queries/php/highlights.scm index 12a652e..9eedf64 100644 --- a/.config/nvim/after/queries/php/highlights.scm +++ b/.config/nvim/after/queries/php/highlights.scm @@ -1,3 +1,4 @@ ;; extends + "$" @variable (php_tag) @function.macro diff --git a/.config/nvim/after/queries/typescript/highlights.scm b/.config/nvim/after/queries/typescript/highlights.scm new file mode 100644 index 0000000..895e1c3 --- /dev/null +++ b/.config/nvim/after/queries/typescript/highlights.scm @@ -0,0 +1,6 @@ +;; extends + +;; Undefined is highlighted as @variable.builtin by default. Strictly +;; speaking, it is not a reserved word and just a built-in variable, +;; but no one re-assign it. +(undefined) @constant.builtin |
