helix-mirror/runtime/queries
Skyler Hawthorne 7078e84007 Fix YAML auto indent
YAML indents queries are tweaked to fix auto indent behavior.

A new capture type `indent.always` is introduced to address use cases
where combining indent captures on a single line is desired.

Fixes #6661
2023-08-11 06:22:22 +09:00
..
_javascript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
_jsx build(tree-sitter): update javascript, typescript and tsx (#7852) 2023-08-07 14:07:56 -05:00
_typescript Update Typescript, TSX and Svelte grammar, to latest tag (#6874) 2023-07-14 11:42:07 +09:00
astro feat: Syntax highlighting for Astro files (#3829) 2022-09-13 01:53:55 -05:00
awk AWK Regex injection (#3535) 2022-08-24 16:14:56 -05:00
bash Add tree-sitter textobjects queries for bash (#7764) 2023-08-08 03:27:35 +09:00
bass add bass language + highlighting (#3771) 2022-09-18 12:06:51 -05:00
beancount Add language: beancount (#3297) 2022-08-08 17:59:55 -05:00
bibtex Add support for the BibTeX file format (#5064) 2022-12-08 22:33:08 -06:00
bicep Add support for Bicep files (#4403) 2022-11-14 19:43:22 -06:00
blueprint Add blueprint language (#7213) 2023-06-05 10:40:14 +02:00
c Highlight C/C++ escape sequences (#6724) 2023-04-12 09:55:22 -05:00
c-sharp C# syntax highlight tweaks (#4285) 2022-10-15 11:29:50 -05:00
cairo Drop old cairo grammar, alias to rust for now 2023-05-26 11:17:30 +09:00
capnp Add language support for Cap’n Proto format (#6325) 2023-03-18 09:17:02 -05:00
clojure Add clojure language support (#2780) 2022-06-16 11:47:52 -05:00
cmake Update tree-sitter-cmake (#4809) 2022-11-18 14:13:13 -06:00
comment fix incorrect predicate in comment highlights (#7732) 2023-07-25 23:56:02 +02:00
common-lisp Add basic support for common lisp 2022-12-05 14:40:41 +09:00
cpon feat(lang): Cpon lang support (#2355) 2022-05-01 09:34:46 -05:00
cpp Fix C++ queries and update tree-sitter-cpp (#7285) 2023-06-07 18:13:39 -05:00
crystal Use tree-sitter-ruby for crystal (#5205) 2023-01-09 02:12:04 +09:00
css Update CSS syntax highlighting (#4882) 2022-11-27 19:11:12 -06:00
cue feat: add cue support (#3262) 2022-07-31 07:04:57 -05:00
d Fix D unittest injection query. (#4562) 2022-11-01 19:44:56 -05:00
dart Improve dart indent (#3419) 2022-08-23 21:35:57 -05:00
devicetree Delete invalid indents.scm queries 2022-08-31 17:45:23 +09:00
dhall dhall: additional highlight queries (#5959) 2023-02-13 11:04:31 +09:00
diff Update tree-sitter-diff (#3708) 2022-09-06 12:02:37 +09:00
dockerfile fix: update upstream tree-sitter-dockerfile (#6895) 2023-05-12 03:29:06 +02:00
dot Add Graphviz Dot lang support (#3241) 2022-07-30 12:34:00 -05:00
dtd Add DTD language support (#6644) 2023-04-12 15:28:51 -05:00
ecma build(tree-sitter): update javascript, typescript and tsx (#7852) 2023-08-07 14:07:56 -05:00
edoc Improve Edoc highlighting within Erlang 2022-11-24 11:07:05 +09:00
eex add tree-sitter-eex 2022-04-13 14:28:51 +09:00
ejs add tree-sitter-embedded-template (erb & ejs) (#2055) 2022-04-10 08:23:06 +09:00
elixir Implement simple indents.scm for Elixir (#4821) 2022-11-20 18:36:19 -06:00
elm Add elm treesitter textobjects (#6084) 2023-02-25 12:55:44 -06:00
elvish languages: added elvish (#2948) 2022-07-03 16:19:12 -05:00
env Modify env language to extend bash (#5720) 2023-01-30 08:56:42 -06:00
erb add tree-sitter-embedded-template (erb & ejs) (#2055) 2022-04-10 08:23:06 +09:00
erlang Update Erlang highlights 2023-03-14 10:56:49 +09:00
esdl feat(lang): Add esdl grammar (#3526) 2022-08-24 09:51:10 -05:00
fish Fixing (in two ways) a small typo (#2156) 2022-04-18 13:12:47 +09:00
forth Add forth-lsp and update tree-sitter-forth (#7334) 2023-06-16 23:12:29 +02:00
fortran Add Fortran comment injections (#7305) 2023-06-11 00:27:46 +09:00
fsharp Add fsharp language support (#7619) 2023-07-15 22:58:17 +02:00
gdscript Update gdscript highlight (#6311) 2023-03-15 16:20:59 -05:00
git-attributes feat(languages): git-ignore and git-attributes (#2397) 2022-05-05 08:47:28 -05:00
git-commit Update tree-sitter-git-commit (#6692) 2023-04-11 00:52:03 +09:00
git-config add tree-sitter-git-config (#1426) 2022-01-09 22:10:20 +08:00
git-ignore feat(languages): git-ignore and git-attributes (#2397) 2022-05-05 08:47:28 -05:00
git-rebase Update tree-sitter-git-rebase (#6030) 2023-02-19 11:34:47 -06:00
gleam Update gleam grammar (#6641) 2023-04-09 14:23:01 -05:00
glsl Add textobjects.scm to GLSL (#3051) 2022-07-12 10:13:57 -05:00
go Avoid extra indentation on Go switches (#6817) 2023-04-25 18:05:23 -05:00
godot-resource Update queries for godot4 (#6186) 2023-03-05 12:41:18 -06:00
gomod feat(lang): add go.mod and go.work support (#2197) 2022-04-20 11:16:02 -05:00
gotmpl feat(tree-sitter): add go template support (#3091) 2022-07-26 10:17:28 +09:00
gowork feat(lang): add go.mod and go.work support (#2197) 2022-04-20 11:16:02 -05:00
graphql feat(languages): GraphQL (#1515) 2022-01-21 23:16:40 +09:00
hare Bump the version of Hare's grammar (#7784) 2023-08-04 16:19:26 +02:00
haskell Add language support for persistent library syntax (#7261) 2023-07-09 19:17:01 +02:00
haskell-persistent Add language support for persistent library syntax (#7261) 2023-07-09 19:17:01 +02:00
hcl replace constant.number with constant.numeric (#2389) 2022-05-04 14:51:31 +09:00
heex Update tree-sitter-heex 2022-11-24 11:07:05 +09:00
hosts Added tree-sitter-hosts (#4950) 2023-02-10 11:32:04 -06:00
html Fix broken html doctype highlighting (#4829) 2022-11-20 12:51:58 -06:00
hurl Add Hurl Support (#6450) 2023-04-07 00:26:41 +08:00
iex add tree-sitter-iex (#1576) 2022-01-25 15:50:34 +09:00
ini add highlights for env and ini file formats (#4536) 2022-10-31 19:23:09 -05:00
java feat(indent): add basic java indentation queries (#7844) 2023-08-07 08:48:54 -05:00
javascript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
jinja Jinja language family syntax support (#7233) 2023-08-09 16:26:58 +02:00
jsdoc adds missing tree-sitter-comment injection for js/ts (#2763) 2022-06-20 10:55:51 -05:00
json Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
jsonnet feat(languages): jsonnet (#3714) 2022-09-08 09:04:18 -05:00
jsx Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
julia Add textobject queries for Julia (#6588) 2023-04-07 00:35:05 +08:00
just Add standalone language support for just (#6453) 2023-04-14 17:03:21 +02:00
kdl feat(lang): add kdl grammar (#4481) 2022-10-29 10:33:23 -05:00
kotlin Fix some typos (#2978) 2022-07-05 21:49:54 -05:00
latex fix(grammar): Add block_comment and comment_environment injection for latex comments (#4922) 2022-11-28 09:19:16 -06:00
lean Fix some typos (#2978) 2022-07-05 21:49:54 -05:00
ledger Remove broken ledger tag highlight (#2988) 2022-07-06 07:35:36 -05:00
llvm Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
llvm-mir Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
llvm-mir-yaml Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
lua Update tree-sitter-lua and add textobjects for Lua (#3552) 2022-10-12 08:45:56 -05:00
make Update queries for makefile (#6339) 2023-03-17 09:48:57 -05:00
markdoc feat(languages): Support markdoc (#6432) 2023-04-12 10:28:03 -05:00
markdown inject language based on file extension & shebang (#3970) 2023-04-28 18:21:34 +09:00
markdown.inline Improve markdown highlights and add latex injection (#6100) 2023-02-25 12:40:02 -06:00
matlab highlight(matlab): Fix string's single-quote's color (#7493) 2023-06-30 17:39:17 -05:00
mermaid Add Mermaid.js for markdown support (#5147) 2022-12-14 07:51:00 -06:00
meson Improvements to Meson syntax. (#4572) 2022-11-15 20:17:03 -06:00
msbuild Add MSBuild language based on XML grammar (#5793) 2023-02-03 08:24:22 -06:00
nasm feat: add nasm language (#6068) 2023-02-25 12:53:37 -06:00
nickel Update languages.toml for Nickel (#7059) 2023-05-26 02:23:15 -05:00
nim Initial Nim language support (#6123) 2023-03-26 17:06:48 -05:00
nix inject language based on file extension & shebang (#3970) 2023-04-28 18:21:34 +09:00
nu Update tree-sitter grammar for nu (#7873) 2023-08-09 14:00:59 +02:00
nunjucks Jinja language family syntax support (#7233) 2023-08-09 16:26:58 +02:00
ocaml Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
ocaml-interface tree sitter comments injections (#1527) 2022-01-21 00:50:06 +09:00
odin Add comment injections for Odin (#7027) 2023-05-12 16:53:07 +02:00
opencl Add OpenCL tree-sitter and LSP config (#6473) 2023-04-12 14:42:41 -05:00
openscad support for openscad (#2680) 2022-06-06 12:26:56 -05:00
org Initial basic Org markup support thanks to tree-sitter-org (#1845) 2022-03-20 17:14:30 -05:00
pascal Pascal support (#3542) 2022-08-25 17:59:02 -05:00
passwd Add tree-sitter-passwd (#4959) 2023-02-10 11:12:46 -06:00
pem feat: add pem language (#5797) 2023-02-07 17:24:26 -06:00
perl switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 2023-07-17 14:09:38 +09:00
php queries/php: add missing keywords unset and clone (#6299) 2023-03-13 19:21:44 -05:00
po Add GNU gettext PO grammar (#5996) 2023-02-20 17:04:17 -06:00
ponylang Add language support for ponylang (#5416) 2023-01-10 19:54:19 -06:00
prisma Update Prisma tree-sitter for view support (#5417) 2023-01-06 06:12:51 -06:00
protobuf Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
prql feat: update prql parser (#7771) 2023-07-28 23:01:06 +02:00
purescript Add support for Purescript language (#4242) 2022-10-14 11:57:52 -05:00
python Fix python highlights to support single character and alphanumeric constant identifier (#6751) 2023-04-14 09:34:40 +09:00
qml Add QML language support (#4842) 2022-11-22 21:49:02 -06:00
r Add comment injection for R (#4031) 2022-09-29 13:11:45 -05:00
racket Fix file-types declaration for racket (#4915) 2022-11-30 23:27:08 +09:00
regex Tune regex highlights for usage in prompts 2023-07-27 11:50:19 +09:00
rego Add language support for rego (OpenPolicyAgent) (#6415) 2023-03-26 16:49:37 -05:00
rescript Upgrade rescript tree sitter & highlights (#4356) 2022-10-20 16:30:16 -05:00
rmarkdown add languages r and rmarkdown (#1998) 2022-04-08 09:30:44 +09:00
robot Add support for Robot Framework files (#6611) 2023-04-07 08:19:48 +08:00
ron add language ron (#1925) 2022-04-05 07:39:22 -05:00
rst Add support for reStructuredText (#6180) 2023-03-04 20:36:01 -06:00
ruby Update Ruby Highlights (#6587) 2023-04-07 00:37:45 +08:00
rust Highlight sqlx's query_scalar{,_unchecked} macros as SQL (#6793) 2023-04-27 14:37:17 +09:00
sage Support sagemath language (#5649) 2023-01-23 12:10:27 -06:00
scala chore: update scala tree-sitter grammar (#7147) 2023-05-30 13:29:43 +02:00
scheme Update tree-sitter-scheme 2022-12-12 17:50:12 +09:00
scss Add support for single-line comments to scss (#5003) 2022-12-04 09:45:31 -06:00
slint slint indents 2022-08-08 17:57:08 -05:00
smithy Add initial Smithy support (#6370) 2023-03-21 17:12:24 -05:00
sml Add syntax highlighting for SML (#3692) 2022-09-07 13:13:06 -05:00
solidity tree-sitter-solidity: Use upstream, update queries 2022-09-05 10:50:32 +09:00
sql highlight(sql): Update tree-sitter-sql to 98a7fc9 (#7387) 2023-06-20 00:04:40 +02:00
sshclientconfig Update SSH client config grammar & highlight queries (#4538) 2022-10-31 19:27:53 -05:00
starlark support Bazel languages (#2903) 2022-06-28 08:48:38 +05:30
svelte Support inlay-hints for svelteserver. (#7622) 2023-07-14 21:56:28 +09:00
sway Add language support for sway (#6023) 2023-02-25 12:47:54 -06:00
swift Update tree-sitter-swift (#3461) 2022-08-17 10:40:21 +09:00
t32 Update t32 language queries to version 2.2.1 (#7811) 2023-08-04 16:20:12 +02:00
tablegen Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
task feat: add taskwarrior to languages so task N edit is nice (#3468) 2022-08-19 19:16:54 -05:00
tfvars Add runtime queries for tfvars (based on hcl) (#5396) 2023-01-06 06:59:13 -06:00
todotxt feat: add todo.txt tree-sitter (#7835) 2023-08-09 15:35:29 +02:00
toml feat(toml): highlight table headers (#7441) 2023-06-24 08:27:49 -05:00
tsq Replace '; inherits <language>' in treesitter queries with <language> queries instead of appending them (#2470) 2022-07-22 10:28:32 +09:00
tsx Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
twig Change twig tree-sitter grammar (#4176) 2022-10-10 16:27:14 -05:00
typescript Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00
ungrammar Added ungrammar language support (#3048) 2022-07-12 10:06:53 -05:00
unison Add Unison support (#7724) 2023-08-08 20:50:49 +02:00
uxntal Add support for the uxntal language (#6047) 2023-02-19 12:32:42 -06:00
v replace new lsp for vlang (#7760) 2023-07-31 01:04:55 +02:00
vala feat(lsp): add vala language support (#2243) 2022-04-24 11:21:07 -05:00
verilog Fix some typos (#2978) 2022-07-05 21:49:54 -05:00
vhdl Add vhdl language support (#5826) 2023-03-25 12:10:54 -05:00
vhs language: added vhs (#4486) 2022-10-28 08:22:41 -05:00
vue Allow custom preprocessors for 'vue' injections (#5268) 2022-12-27 08:57:09 -06:00
wast Add support for webassembly text format (#4040) 2022-10-01 09:13:52 -05:00
wat Added missing keywords to wat (wasm) hightlights (#4542) 2022-10-31 19:30:08 -05:00
webc Webc language support (#7290) 2023-06-13 17:41:30 +02:00
wgsl Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079) 2022-10-13 20:31:32 -05:00
wit Support WIT grammar (#4525) 2022-10-31 18:48:01 -05:00
wren Improve wren support (#7819) 2023-08-04 16:25:36 +02:00
xit add syntax highlights for xit (#3521) 2022-08-23 20:52:01 -05:00
xml feat(lang): add xml (#4518) 2022-10-29 15:41:28 -05:00
yaml Fix YAML auto indent 2023-08-11 06:22:22 +09:00
yuck Improved yuck highlighting (and parser), and introduced a tag.builtin scope (#6242) 2023-03-10 10:32:45 -06:00
zig Update tree-sitter-zig (#7803) 2023-08-02 21:22:28 +02:00