diff options
author | Daniel S Poulin | 2022-02-01 03:35:07 +0000 |
---|---|---|
committer | GitHub | 2022-02-01 03:35:07 +0000 |
commit | d6b6ad879e297ff786ce520acd3ce9c4ff3c2e8e (patch) | |
tree | e16817096177dea4317dcc39a97bdb6a09adf4e2 /languages.toml | |
parent | 983a53bfb4f20751d0c94c82a5faac52c517a0ab (diff) |
epocsquadron/add tree sitter twig (#1602)
* Add tree-sitter-twig grammer and highlights
The gammar itself is quite basic, but is much better than nothing
for working with real files consisting mostly of html.
* Docgen for newly added grammar
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 02c64732..74c01da5 100644 --- a/languages.toml +++ b/languages.toml @@ -232,6 +232,15 @@ roots = [] indent = { tab-width = 4, unit = " " } [[language]] +name = "twig" +scope = "source.twig" +injection-regex = "twig" +file-types = ["twig"] +roots = [] + +indent = { tab-width = 2, unit = " " } + +[[language]] name = "latex" scope = "source.tex" injection-regex = "tex" |