aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Ryall <brian@brianryall.xyz>2023-01-27 23:18:25 -0500
committerChristian Clason <c.clason@uni-graz.at>2023-01-28 15:03:55 +0100
commit5812ae26f749f38fb6a315bd0c3544e6ed9905d4 (patch)
tree58981f31ed0302612d3d17c369451e353b3cfb94
parentUpdate parsers: beancount, cpp, cuda, hlsl, java, nickel, scala, thrift, v (diff)
downloadnvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar.gz
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar.bz2
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar.lz
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar.xz
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.tar.zst
nvim-treesitter-5812ae26f749f38fb6a315bd0c3544e6ed9905d4.zip
highlights(beancount): update on latest updates
-rw-r--r--queries/beancount/highlights.scm18
1 files changed, 8 insertions, 10 deletions
diff --git a/queries/beancount/highlights.scm b/queries/beancount/highlights.scm
index 7fa78d84e..1f0cf8a48 100644
--- a/queries/beancount/highlights.scm
+++ b/queries/beancount/highlights.scm
@@ -1,23 +1,21 @@
-
(date) @field
(txn) @attribute
-
(account) @type
-
(amount) @number
(incomplete_amount) @number
+(compound_amount) @number
(amount_tolerance) @number
-
(currency) @property
-
(key) @label
-(string) @string
-
+(string) @string @spell
+(narration) @string @spell
+(payee) @string @spell
(tag) @constant
(link) @constant
-
-(comment) @comment
-
+[
+ (minus) (plus) (slash) (asterisk)
+] @operator
+(comment) @comment @spell
[
(balance) (open) (close) (commodity) (pad)
(event) (price) (note) (document) (query)