| Commit message (Collapse) | Author | Age |
|
|
| |
Brings in PHP 8.1 features, like enums, union types and the like.
|
|
|
|
|
|
| |
use latest upstream version
move comptime from @keyword.function to @keyword.directive
use AssignOp
enhance indents
|
| |
|
|
|
|
|
| |
* add tree-sitter-git-config
* add todo comment for improving filetype check
|
|
|
|
|
|
|
|
| |
This commit adds syntax highlighting for GNU Make[^1] makefiles
via tree-sitter-make[^2].
[^1]: https://www.gnu.org/software/make/
[^2]: https://github.com/alemuller/tree-sitter-make
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add tree-sitter-regex
* adapt regex highlights from upstream
* inject regex into elixir sigil_r/2 and sigil_R/2
* generate lang-support docs
* capture interesting nodes in character-ranges
* make $.character_class captures more consistent
* fix fallthrough behavior for character classes
* capture pattern characters as 'string'
* use latest tree-sitter-regex
* set elixir regex injections as combined
* add link to upstream queries
* inject regex in rust into 'Regex::new' raw string literals
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add injection regex for more languages
To support embedding them in other languages like markdown.
* Add llvm-mir highlighting
LLVM Machine IR is dumped as yaml files that can embed LLVM IR and
Machine IR.
To support this, add a llvm-mir-yaml language that uses the yaml
parser, but uses different injections to highlight IR and MIR.
* Update submodule with fixed multiline comments
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
|
|
|
|
|
|
|
| |
Add a tree-sitter grammar and highlights for TableGen files.
TableGen and its grammar are described here:
https://llvm.org/docs/TableGen/index.html
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add submodule on tree-sitter-rebase, add to languages
* add basic highlights query
* inject bash in execute statements
* update tree-sitter-rebase
* tree-sitter-rebase->tree-sitter-git-rebase
* get injection working with tree-sitter-git-commit
* set scope under source.gitrebase
* unset include-children on commit message injections
* Revert "unset include-children on commit message injections"
This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944.
* fix generated language docs
* use rebase_command scopes from tree-sitter-git-commit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add submodule on tree-sitter-git-diff
* add git-diff highlights
* inject git-diff into git-commit
* update tree-sitter-git-commit with fix for bad diff case
* add git-diff to language support docs
* include-children in diff injections
This ensures that children nodes of $.message are included in the
injection, such as $.user or issue/pr numbers. Without this change,
diffs containing '#' or '@' characters can trip up the injection and
be parsed separately.
See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629
* set diff language's scope as source.diff
|
|
|
|
|
|
|
|
| |
* Improve llvm highlighting and queries
The llvm tree-sitter parser was updated to support scopes and more
accurate highlighting.
* Group highlight expressions better
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
| |
The highlights were copied and modified from
https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Fix the path to the submodule and init the submodule.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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
|
|
|
|
| |
Fixes #215
|
| |
|
|
|
|
|
| |
* add glsl language support
* glsl: use indents.toml file
|
| |
|
|
|
| |
Co-authored-by: Houkime <>
|
| |
|
| |
|
| |
|
|
|
|
| |
connects https://github.com/elixir-lang/tree-sitter-elixir/issues/9
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 support
* Update .gitmodules
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
|
|
|
|
|
| |
- update tree-sitter-zig subproject
- use highlights.scm from upstream, just use helix scopes
- update indents.toml, this one actually works
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
0.20 includes querying improvements, we no longer have to convert
fragments to strings but can return an iterator of chunks instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added some stuff
* add interface
* indent
* highlights and locals
* scope
* change some stuff
* add indents
* fix blanket highlight
* macro
* use inherits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added submodule
* small changes
* updated some stuff
* remove
* shallow clone
* correct indent
* shallow
* ok
* highlights
* proper captures
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added submodule
* remove wrong one
* added highlights
* use property
* add indents
* shallow
|
|
|
|
|
|
|
| |
* Add initial zig tree-sitter support
* zig/highlights.scm: remove unnecessary queries
* Add zig/indents.toml
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Compile the grammar libraries with full RELRO
* Set RELRO compiler options for only Linux
|
|
|
|
| |
Might need to update later since the current one highlight does not
work very well yet.
|