Update grammar and simplify capture in `highlights.scm`

pull/11611/head
mkorje 2025-04-06 21:29:03 +10:00
parent 0318d604ea
commit ae9b6d3ea2
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View File

@ -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"

View File

@ -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)