mirror of https://github.com/helix-editor/helix
Update grammar and simplify capture in `highlights.scm`
parent
0318d604ea
commit
ae9b6d3ea2
|
@ -1502,7 +1502,7 @@ language-servers = [ "swipl" ]
|
|||
|
||||
[[grammar]]
|
||||
name = "prolog"
|
||||
source = { git = "https://codeberg.org/foxy/tree-sitter-prolog", subpath = "grammars/prolog", rev = "93c69d2f84d8a167c0a3f4a8d51ccefe365a4dc8" }
|
||||
source = { git = "https://codeberg.org/foxy/tree-sitter-prolog", subpath = "grammars/prolog", rev = "d8d415f6a1cf80ca138524bcc395810b176d40fa" }
|
||||
|
||||
[[language]]
|
||||
name = "tsq"
|
||||
|
|
|
@ -3,10 +3,7 @@
|
|||
(atom) @constant
|
||||
|
||||
((atom) @constant.builtin.boolean
|
||||
(#eq? @constant.builtin.boolean "true"))
|
||||
|
||||
((atom) @constant.builtin.boolean
|
||||
(#eq? @constant.builtin.boolean "false"))
|
||||
(#any-of? @constant.builtin.boolean "true" "false"))
|
||||
|
||||
(functional_notation
|
||||
function: (atom) @function)
|
||||
|
|
Loading…
Reference in New Issue