diff --git a/languages.toml b/languages.toml index d58185e15..594498f02 100644 --- a/languages.toml +++ b/languages.toml @@ -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" diff --git a/runtime/queries/prolog/highlights.scm b/runtime/queries/prolog/highlights.scm index ec59d8034..e63f47302 100644 --- a/runtime/queries/prolog/highlights.scm +++ b/runtime/queries/prolog/highlights.scm @@ -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)