Mercurial > dotfiles
annotate dot_config/helix/runtime/queries/hgrc/highlights.scm @ 876:8589883596fd
fix: remove pathdirs option to avoid slow path completions
see: https://stackoverflow.com/questions/76746392/why-is-my-zsh-tab-completion-slow-on-commands-but-not-directories
> Perform a path search even on command names with slashes in them.
> Thus if ?/usr/local/bin? is in the user?s path, and he or she types ?X11/xinit?, the command ?/usr/local/bin/X11/xinit? will be executed (assuming it exists).
> Commands explicitly beginning with ?/?, ?./? or ?../? are not subject to the path search. This also applies to the ?.? and source builtins.
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Thu, 25 Apr 2024 10:05:40 +0200 |
parents | 3dc425f9ac53 |
children |
rev | line source |
---|---|
826
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
1 (section |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
2 (name) @namespace) |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
3 |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
4 (option |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
5 (option_name) @keyword) |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
6 |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
7 (path) @string.special.path |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
8 (string) @string |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
9 (bool) @constant.builtin.boolean |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
10 |
b2e6175efcad
feat: add hgrc grammar and highlights
zegervdv <zegervdv@me.com>
parents:
diff
changeset
|
11 (comment) @comment |
828
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
12 |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
13 (template |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
14 "{" @punctuation.special |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
15 "}" @punctuation.special) |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
16 |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
17 (template (number) @number) |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
18 (template (bool) @constant.builtin.boolean) |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
19 |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
20 (function) @function |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
21 (keyword) @keyword |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
22 |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
23 (operator) @operator |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
24 |
2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
zegervdv <zegervdv@me.com>
parents:
826
diff
changeset
|
25 (string (escape) @constant.character.escape) |
830
3dc425f9ac53
feat: inject regex grammar into hgrc
zegervdv <zegervdv@me.com>
parents:
828
diff
changeset
|
26 |
3dc425f9ac53
feat: inject regex grammar into hgrc
zegervdv <zegervdv@me.com>
parents:
828
diff
changeset
|
27 (regex) @string |