summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortami5 <kkharji@protonmail.com>2022-02-23 16:02:50 +0300
committerStephan Seitz <stephan.seitz@fau.de>2022-05-21 13:48:58 +0200
commitd039b4d0a4459245d78356c9739814fda9826427 (patch)
tree7f951634d2e0bdd25e3de0ee06e0de30f4d51ff9
parentb34aadbcb3036502f3aafdb590f0199acad3d301 (diff)
chore: add more builtin variables
-rw-r--r--queries/v/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/v/highlights.scm b/queries/v/highlights.scm
index a20b9f7d..8f771020 100644
--- a/queries/v/highlights.scm
+++ b/queries/v/highlights.scm
@@ -22,7 +22,7 @@
(#not-has-parent? @_parent call_expression special_call_expression)))
((identifier) @variable.builtin
- (#match? @variable.builtin "^err$"))
+ (#match? @variable.builtin "^(err|macos|linux|windows)$"))
;; C: TODO: fixme make `C`.exten highlighted as variable.builtin
; ((binded_identifier) @content