feat: add tmpl

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-31 12:28:17 +02:00
parent 48424d8c29
commit 22552e9c25
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -67,3 +67,13 @@ name = "binary"
[language.debugger.templates.args] [language.debugger.templates.args]
program = "{0}" program = "{0}"
runInTerminal = true runInTerminal = true
[[language]]
name = "gotmpl"
scope = "source.gotmpl"
injection-regex = "gotmpl"
file-types = ["gotmpl", "tmpl"]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
language-servers = ["gopls"]
indent = { tab-width = 2, unit = " " }