aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
Commit message (Collapse)AuthorAge
* Typo fix in ocaml indents.toml (#1342)Stuart Hinson2021-12-24
|
* Add precise rust queries for use, mod, as (#1339)Gokul Soumya2021-12-23
| | | | | | - Differentiates between `as` keyword as a binary type cast operator and import renamer. - `mod` and `use` are now under `@keyword.control.import`, but `mod` is a `@keyword` if used as `mod name;`.
* Support dockerfiles (#1303)Midnight Exigent2021-12-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master * fix(completion_popup): Fixes #1256 * Update helix-term/src/ui/completion.rs * feat(languages): Add support for `Dockerfile`s * docs(cargo-xtask-docgen): * improvement(langs-dockerfile): Add `injection-regex` to `languages.toml` for `Dockerfile` * improvement(langs-dockerfile): Add injections.scm * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add fish highlighting (#1308)Sebastian Neubauer2021-12-21
| | | | The highlights were copied and modified from https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
* Improve rust syntax highlighting (#1295)Gokul Soumya2021-12-20
| | | | | - Highlight fragment specifiers (expr, tt, in macro definitions) with @type. - Highlight attributes as macros
* Highlight comments in c, cpp, cmake and llvm (#1309)Sebastian Neubauer2021-12-20
| | | Also, reuse the c injections in glsl
* Add tree-sitter-comment (#1300)Michael Davis2021-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | * Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add link and quote queries for markdownGokul Soumya2021-12-19
| | | | | | | | | - Rename markup.underline.link to markup.link.url - Add markup.link.label - Add markup.quote (The constructor theme scope was missing from the docs, so unrelated to this commit).
* Improve yaml syntax highlighting highlighting (#1294)Gokul Soumya2021-12-19
|
* Add dart lsp config and queries (#1250)Luke Jones2021-12-18
| | | | | | | | | | | | | | | | * Add language: dart The setup requires that dart be in the users path, such as: ``` export PATH="$HOME/Android/flutter/bin/cache/dart-sdk/bin/:$PATH" ``` Refactor the dart highlights * lang: dart: add indents and locals * lang: dart: corrections to local scope Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add scala syntax highlights (#1278)Oliver Hechtl2021-12-18
| | | | | | | | | | | | | * add partial scala syntax highlights * ran cargo xtask docgen * updated tree-sitter-scala, fixed highlights * fix comments * move identifier to the end of the highlights * add indents
* Fix more highlight scopesBlaž Hrastnik2021-12-17
|
* highlights: @include -> @keyword.control.importBlaž Hrastnik2021-12-17
|
* Partly fix julia's locals.scmBlaž Hrastnik2021-12-17
|
* Add indents.toml to perl (#1280)ath32021-12-17
|
* Add injections query for markdownBlaž Hrastnik2021-12-15
|
* Partly fix latex highlights and add markup scope docsBlaž Hrastnik2021-12-15
|
* Add markdown grammarBlaž Hrastnik2021-12-14
| | | | Fixes #215
* Add llvm grammar (#1167)Kirawi2021-11-29
|
* Add language support for WGSL (#1166)Kirawi2021-11-27
|
* Add json indents.toml file (#1055)Mateusz S. Szczygieł2021-11-10
| | | | | | | * add glsl language support * glsl: use indents.toml file * add json indents.toml
* glsl support (#993)Mateusz S. Szczygieł2021-11-08
| | | | | * add glsl language support * glsl: use indents.toml file
* Perl support (#978)ath32021-11-08
|
* Updated tree-sitter query scopes (#896)Kirawi2021-11-03
| | | | | | | | | | | | | | | | | | * updated theme scopes variable.property -> variable.field property -> variable.field * updated theme scopes * update book and themes updated book and themes to reflect scope changes * wip * update more queries * update dark_plus.toml
* Add indents definition based on the one from nvim-treesitterDaniel Poulin2021-11-02
|
* update cpp queries (#930)Houkime2021-10-29
| | | Co-authored-by: Houkime <>
* fix: string.regex{=>p}Michael Davis2021-10-27
|
* use punctuation.special for interpolation #{ }Michael Davis2021-10-27
|
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* CMake support (#888)ath32021-10-22
|
* Merge pull request #830 from the-mikedavis/official-elixir-tree-sitterBlaž Hrastnik2021-10-18
|\ | | | | prefer elixir-lang/tree-sitter-elixir
| * scope arities in captures as operatorsMichael Davis2021-10-17
| |
| * use special.string.symbol instead of symbolMichael Davis2021-10-17
| | | | | | | | this aligns better with how ruby highlights symbols
| * use latest tree-sitter-elixir with 'not in' query supportMichael Davis2021-10-17
| | | | | | | | connects https://github.com/elixir-lang/tree-sitter-elixir/issues/9
| * align highlight scopes with documented scopesMichael Davis2021-10-17
| |
| * highlight calls to erlang modules as typesMichael Davis2021-10-17
| | | | | | | | connects https://github.com/elixir-lang/tree-sitter-elixir/pull/5
| * add LICENSE snippet at elixir hightlights topMichael Davis2021-10-17
| |
| * use the warning type for tree-sitter ERRORsMichael Davis2021-10-17
| |
| * describe atoms as tagsMichael Davis2021-10-17
| |
| * add highlights query from elixir-lang/tree-sitter-elixirMichael Davis2021-10-17
| |
* | Add indents for python, but it's not perfect. (#837)WindSoilder2021-10-18
|/ | | | | * add indents for python, but it's not Perfect * add last line
* Enable c-sharp language and highlights (#861)Michael Davis2021-10-17
|
* fix digit escapes in java & php highlights (#846)Michael Davis2021-10-16
|
* Add highlight support for tree-sitter-query language (tsq) (#845)Michael Davis2021-10-16
| | | | | | | | | | | | | * add submodule on tree-sitter/tree-sitter-tsq mark tsq submodule as shallow * add tree-sitter-tsq to languages * add highlight queries for tsq * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add Vue tree sitter grammar (#787)Thomas Wehmöller2021-10-10
| | | | | | | * ✨ Add vue tree sitter support * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Zig tree-sitter rework (#811)voroskoi2021-10-05
| | | | | - update tree-sitter-zig subproject - use highlights.scm from upstream, just use helix scopes - update indents.toml, this one actually works
* languages: add svelte support (#733)Raphael Megzari2021-09-17
| | | | | * languages: add svelte support * languages: add svelte injections
* Update ledger treesitter injections (#732)cbarrete2021-09-09
| | | Co-authored-by: Cédric Barreteau <cbarrete@users.noreply.github.com>
* Improve docs, fix up a few highlight scopesBlaž Hrastnik2021-09-07
|
* syntax: Add go & rust locals, improve tree-sitter error messageBlaž Hrastnik2021-09-06
|