summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorIvan Tham2021-08-16 02:03:57 +0000
committerGitHub2021-08-16 02:03:57 +0000
commitaaccc9419a9710f13db3ddc0aad068e606667154 (patch)
tree9817e3d6937efba5055fd77cd3da310e84d907b7 /languages.toml
parent3bde65c599707d7448c36dee26848b0ed48b0fe4 (diff)
Add ledger tree-sitter (#572)
Might need to update later since the current one highlight does not work very well yet.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 15d78a1a..30ef3582 100644
--- a/languages.toml
+++ b/languages.toml
@@ -205,6 +205,15 @@ file-types = ["java"]
roots = []
indent = { tab-width = 4, unit = " " }
+[[language]]
+name = "ledger"
+scope = "source.ledger"
+injection-regex = "ledger"
+file-types = ["ldg", "ledger", "journal"]
+roots = []
+comment-token = ";"
+indent = { tab-width = 4, unit = " " }
+
# [[language]]
# name = "haskell"
# scope = "source.haskell"