From c3a29f7b6c94d6159972bc93195d5bafb5deb40e Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 2 Jul 2022 00:30:18 +0800 Subject: [PATCH 1/2] Update tree-sitter-ledger --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 0b4a1dec545a..ea5dcc327575 100644 --- a/languages.toml +++ b/languages.toml @@ -570,7 +570,7 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "ledger" -source = { git = "https://github.com/cbarrete/tree-sitter-ledger", rev = "0cdeb0e51411a3ba5493662952c3039de08939ca" } +source = { git = "https://github.com/cbarrete/tree-sitter-ledger", rev = "1f864fb2bf6a87fe1b48545cc6adc6d23090adf7" } [[language]] name = "ocaml" From 9bf882e43b1989657f8502f2cae31bb25ff83449 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Tue, 5 Jul 2022 21:44:02 +0800 Subject: [PATCH 2/2] Add tag highlight --- runtime/queries/ledger/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/queries/ledger/highlights.scm b/runtime/queries/ledger/highlights.scm index 02a9ea9a79a4..301076c79479 100644 --- a/runtime/queries/ledger/highlights.scm +++ b/runtime/queries/ledger/highlights.scm @@ -11,6 +11,7 @@ ((account) @variable.other.member) ((commodity) @text.literal) +((tag) @tag) "include" @keyword.local.import