aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Helwer <ahelwer@protonmail.com>2021-08-19 14:14:58 -0400
committerStephan Seitz <stephan.seitz@fau.de>2021-08-20 18:56:14 +0200
commitca0a7f5a8d1dd4596aca77679e1fd7e905d52716 (patch)
treef198631b2f5442e613b14dfe2783499a7cf7b515
parentFixed lua style issues, updated grammar version to fix macOS build issues (diff)
downloadnvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar.gz
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar.bz2
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar.lz
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar.xz
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.tar.zst
nvim-treesitter-ca0a7f5a8d1dd4596aca77679e1fd7e905d52716.zip
Highlight some keyword.function nodes as just keywords
-rw-r--r--queries/tlaplus/highlights.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/queries/tlaplus/highlights.scm b/queries/tlaplus/highlights.scm
index 521f44f42..92868e456 100644
--- a/queries/tlaplus/highlights.scm
+++ b/queries/tlaplus/highlights.scm
@@ -57,20 +57,20 @@
"WF_"
"WITH"
"WITNESS"
-] @keyword
-[
(forall)
(exists)
(temporal_forall)
(temporal_exists)
(set_in)
- (def_eq)
(gets)
- (maps_to)
- (all_map_to)
(case_box)
(case_arrow)
(label_as)
+] @keyword
+[
+ (def_eq)
+ (maps_to)
+ (all_map_to)
] @keyword.function
; Literals