aboutsummaryrefslogtreecommitdiffstats
path: root/queries/elsa
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-01-29 12:03:04 -0500
committerObserverOfTime <chronobserver@disroot.org>2023-01-30 09:45:17 +0200
commitcbb43a64a3b44fe50153b0f48d49452663d42dc9 (patch)
treecb6bd5755ef28689a1bea6a07e7ed5bdb68c75c9 /queries/elsa
parentUpdate parsers: capnp, cuda, kdl, thrift (diff)
downloadnvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar.gz
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar.bz2
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar.lz
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar.xz
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.tar.zst
nvim-treesitter-cbb43a64a3b44fe50153b0f48d49452663d42dc9.zip
feat: add elsa
Diffstat (limited to 'queries/elsa')
-rw-r--r--queries/elsa/highlights.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/queries/elsa/highlights.scm b/queries/elsa/highlights.scm
new file mode 100644
index 000000000..7021a0970
--- /dev/null
+++ b/queries/elsa/highlights.scm
@@ -0,0 +1,41 @@
+; Keywords
+
+[
+ "eval"
+ "let"
+] @keyword
+
+; Function
+
+(function) @function
+
+; Method
+
+(method) @method
+
+; Parameter
+
+(parameter) @parameter
+
+; Variables
+
+(identifier) @variable
+
+; Operators
+
+[
+ "\\"
+ "->"
+ "="
+ (step)
+] @operator
+
+; Punctuation
+
+["(" ")"] @punctuation.bracket
+
+":" @punctuation.delimiter
+
+; Comments
+
+(comment) @comment