comparison dot_config/helix/languages.toml @ 826:b2e6175efcad

feat: add hgrc grammar and highlights
author zegervdv <zegervdv@me.com>
date Fri, 22 Dec 2023 10:27:32 +0100
parents 6c169d906c7d
children 2033a1460dbc
comparison
equal deleted inserted replaced
825:6c169d906c7d 826:b2e6175efcad
28 roots = [] 28 roots = []
29 29
30 [[language]] 30 [[language]]
31 name = 'gotmpl' 31 name = 'gotmpl'
32 file-types = ["tmpl"] 32 file-types = ["tmpl"]
33
34 [[grammar]]
35 name = "hgrc"
36 source = { git = "https://github.com/zegervdv/tree-sitter-hgrc.git", rev = "d20aa925aa0c56d68215395b9e65dc6003cdcffb" }
37
38 [[language]]
39 name = "hgrc"
40 scope = "source.hgrc"
41 injection-regex = "hgrc"
42 file-types = ["hgrc", ".hgrc"]
43 comment-token = "#"
44 indent = { tab-width = 2, unit = " " }
45 roots = [".hg"]