Skip to content

Instantly share code, notes, and snippets.

@saifulapm
Created October 30, 2025 17:50
Show Gist options
  • Select an option

  • Save saifulapm/06749fc2f3c13c269b13a0600c11350a to your computer and use it in GitHub Desktop.

Select an option

Save saifulapm/06749fc2f3c13c269b13a0600c11350a to your computer and use it in GitHub Desktop.
# Kakoune Treesitter Config
[highlight]
groups = [
"variable",
"variable.builtin",
"variable.parameter",
"variable.parameter.builtin",
"variable.member",
"variable.other.member",
"variable.other.member.private",
"constant",
"constant.builtin",
"constant.builtin.boolean",
"constant.character",
"constant.character.escape",
"constant.macro",
"constant.numeric",
"constant.integer",
"constant.float",
"module",
"module.builtin",
"label",
"string",
"string.documentation",
"string.regexp",
"string.escape",
"string.special",
"string.special.symbol",
"string.special.url",
"string.special.path",
"character",
"character.special",
"boolean",
"number",
"number.float",
"type",
"type.builtin",
"type.definition",
"type.parameter",
"type.enum",
"type.enum.variant",
"attribute",
"attribute.builtin",
"property",
"function",
"function.builtin",
"function.call",
"function.macro",
"function.method",
"function.method.call",
"function.method.private",
"function.special",
"constructor",
"operator",
"keyword",
"keyword.coroutine",
"keyword.function",
"keyword.operator",
"keyword.import",
"keyword.type",
"keyword.modifier",
"keyword.repeat",
"keyword.return",
"keyword.debug",
"keyword.exception",
"keyword.conditional",
"keyword.conditional.ternary",
"keyword.directive",
"keyword.directive.define",
"keyword.storage",
"keyword.storage.type",
"keyword.storage.modifier",
"keyword.control.conditional",
"keyword.control.repeat",
"keyword.control.import",
"keyword.control.return",
"keyword.control.exception",
"punctuation.delimiter",
"punctuation.bracket",
"punctuation.special",
"comment",
"comment.line",
"comment.line.documentation",
"comment.block",
"comment.block.documentation",
"comment.unused",
"comment.documentation",
"comment.error",
"comment.warning",
"comment.todo",
"comment.note",
"markup",
"markup.strong",
"markup.bold",
"markup.italic",
"markup.strikethrough",
"markup.underline",
"markup.heading",
"markup.heading.marker",
"markup.heading.1",
"markup.heading.2",
"markup.heading.3",
"markup.heading.4",
"markup.heading.5",
"markup.heading.6",
"markup.quote",
"markup.math",
"markup.link",
"markup.link.label",
"markup.link.url",
"markup.link.text",
"markup.raw",
"markup.raw.block",
"markup.raw.inline",
"markup.list",
"markup.list.checked",
"markup.list.unchecked",
"markup.list.unnumbered",
"markup.list.numbered",
"diff",
"diff.plus",
"diff.plus.gutter",
"diff.minus",
"diff.minus.gutter",
"diff.delta",
"diff.delta.moved",
"diff.delta.conflict",
"diff.delta.gutter",
"tag",
"tag.builtin",
"tag.attribute",
"tag.delimiter",
"none",
"special",
"conceal",
"spell",
"nospell",
"embedded"
]
[grammar]
astro.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/astro.so"
bash.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/bash.so"
blade.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/blade.so"
cpp.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/cpp.so"
comment.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/comment.so"
css.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/css.so"
csv.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/csv.so"
dart.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/dart.so"
diff.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/diff.so"
fish.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/fish.so"
ghostty.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/ghostty.so"
git-config.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/git-config.so"
git-rebase.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/git-rebase.so"
gitattributes.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/gitattributes.so"
git-commit.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/gitcommit.so"
gitignore.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/gitignore.so"
go.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/go.so"
graphql.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/graphql.so"
html.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/html.so"
hurl.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/hurl.so"
ini.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/ini.so"
javascript.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/javascript.so"
jsdoc.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/jsdoc.so"
json.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/json.so"
kdl.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/kdl.so"
latex.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/latex.so"
lua.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/lua.so"
mail.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/mail.so"
make.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/make.so"
markdown_inline.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/markdown_inline.so"
markdown.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/markdown.so"
nu.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/nu.so"
org.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/org.so"
pest.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/pest.so"
php-only.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/php-only.so"
php.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/php.so"
prisma.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/prisma.so"
pug.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/pug.so"
python.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/python.so"
regex.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/regex.so"
ruby.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/ruby.so"
rust.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/rust.so"
scss.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/scss.so"
sql.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/sql.so"
svelte.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/svelte.so"
swift.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/swift.so"
task.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/task.so"
toml.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/toml.so"
tsx.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/tsx.so"
twig.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/twig.so"
typescript.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/typescript.so"
vue.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/vue.so"
xml.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/xml.so"
yaml.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/yaml.so"
zig.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/grammars/zig.so"
[language]
astro.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/astro"
bash.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/bash"
blade.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/blade"
cpp.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/cpp"
comment.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/comment"
css.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/css"
csv.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/csv"
dart.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/dart"
diff.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/diff"
fish.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/fish"
ghostty.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/ghostty"
git-config.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/git-config"
git-rebase.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/git-rebase"
gitattributes.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/gitattributes"
git-commit.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/gitcommit"
gitignore.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/gitignore"
go.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/go"
graphql.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/graphql"
html.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/html"
hurl.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/hurl"
ini.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/ini"
javascript.queries.source.local.path = "/Users/saiful/Library/Application Support/kak-tree-sitter/queries/javascript"
jsdoc.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/jsdoc"
json.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/json"
kdl.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/kdl"
latex.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/latex"
lua.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/lua"
mail.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/mail"
make.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/make"
markdown_inline.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/markdown.inline"
markdown.queries.source.local.path = "/Users/saiful/Library/Application Support/kak-tree-sitter/queries/markdown"
nu.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/nu"
org.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/org"
pest.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/pest"
php-only.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/php-only"
php.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/php"
prisma.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/prisma"
pug.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/pug"
python.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/python"
regex.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/regex"
ruby.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/ruby"
rust.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/rust"
scss.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/scss"
sql.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/sql"
svelte.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/svelte"
swift.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/swift"
task.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/task"
toml.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/toml"
twig.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/twig"
typescript.queries.source.local.path = "/Users/saiful/Library/Application Support/kak-tree-sitter/queries/typescript"
vue.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/vue"
xml.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/xml"
yaml.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/yaml"
zig.queries.source.local.path = "/opt/homebrew/Cellar/helix/25.07.1/libexec/runtime/queries/zig"
[language.tsx]
grammar = "tsx"
queries.source.local.path = "/Users/saiful/Library/Application Support/kak-tree-sitter/queries/tsx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment