Sebastian Neubauer
8c29b76bcc
Improve llvm highlighting and queries ( #1388 )
...
* Improve llvm highlighting and queries
The llvm tree-sitter parser was updated to support scopes and more
accurate highlighting.
* Group highlight expressions better
2021-12-29 18:30:44 +09:00
Michael Davis
c3fb86cbaa
tree-sitter-gitcommit->tree-sitter-git-commit
2021-12-26 00:12:49 +09:00
Michael Davis
fd31662b70
add gitcommit grammar and language configuration
2021-12-26 00:12:49 +09:00
Midnight Exigent
dba22c60ed
Support dockerfiles ( #1303 )
...
* 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>
2021-12-21 18:22:15 +09:00
Sebastian Neubauer
205dc8776b
Add fish highlighting ( #1308 )
...
The highlights were copied and modified from
https://github.com/nvim-treesitter/nvim-treesitter/blob/master/queries/fish/highlights.scm
2021-12-21 11:02:53 +09:00
Michael Davis
e72786df8e
Add tree-sitter-comment ( #1300 )
...
* 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>
2021-12-19 23:56:56 +09:00
Sebastian Neubauer
6d183b2154
Fix tree-sitter-llvm submodule ( #1298 )
...
Fix the path to the submodule and init the submodule.
2021-12-19 09:46:47 +09:00
Luke Jones
edf3c70c30
Add dart lsp config and queries ( #1250 )
...
* 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>
2021-12-18 13:41:32 +09:00
Oliver Hechtl
0683f0a20a
Add scala syntax highlights ( #1278 )
...
* 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
2021-12-18 13:40:34 +09:00
Blaž Hrastnik
49e0678741
Add markdown grammar
...
Fixes #215
2021-12-15 00:50:11 +09:00
Kirawi
4ec20eaeff
Add language support for WGSL ( #1166 )
2021-11-27 07:49:40 +05:30
Mateusz S. Szczygieł
3f0345ff58
glsl support ( #993 )
...
* add glsl language support
* glsl: use indents.toml file
2021-11-09 00:48:00 +09:00
ath3
30744646cb
Perl support ( #978 )
2021-11-08 10:05:12 +09:00
Houkime
a1c7e55e3b
update cpp queries ( #930 )
...
Co-authored-by: Houkime <>
2021-10-29 14:11:19 +09:00
ath3
787ba4f233
CMake support ( #888 )
2021-10-23 08:57:21 +09:00
Michael Davis
8f658f0dce
use latest tree-sitter-elixir with 'not in' query support
...
connects https://github.com/elixir-lang/tree-sitter-elixir/issues/9
2021-10-17 10:50:20 -05:00
Michael Davis
6c0786edc5
prefer elixir-lang/tree-sitter-elixir
2021-10-17 10:50:19 -05:00
Michael Davis
e069fb9dea
Add highlight support for tree-sitter-query language (tsq) ( #845 )
...
* 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>
2021-10-16 17:58:04 +09:00
Thomas Wehmöller
a7f49fa56f
Add Vue tree sitter grammar ( #787 )
...
* ✨ Add vue tree sitter support
* Update .gitmodules
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2021-10-10 22:09:17 +09:00
voroskoi
0e06c10d8c
Zig tree-sitter rework ( #811 )
...
- update tree-sitter-zig subproject
- use highlights.scm from upstream, just use helix scopes
- update indents.toml, this one actually works
2021-10-05 12:18:15 +09:00
Raphael Megzari
e0e41f4f77
languages: add svelte submodule reference ( #766 )
2021-09-19 11:55:15 +09:00
Ivan Tham
89f0dbe8e8
Update tree-sitter-ledger ( #724 )
2021-09-07 23:22:53 +09:00
Blaž Hrastnik
a6108baec9
Improve grammar definitions
2021-09-06 15:25:46 +09:00
oberblastmeister
5766f5da8f
OCaml support ( #666 )
...
* added some stuff
* add interface
* indent
* highlights and locals
* scope
* change some stuff
* add indents
* fix blanket highlight
* macro
* use inherits
2021-09-02 01:08:08 +09:00
oberblastmeister
ae3f936611
Lua support ( #665 )
...
* added submodule
* small changes
* updated some stuff
* remove
* shallow clone
* correct indent
* shallow
* ok
* highlights
* proper captures
2021-09-02 00:54:21 +09:00
oberblastmeister
1586b0eec7
YAML support ( #667 )
...
* added submodule
* remove wrong one
* added highlights
* use property
* add indents
* shallow
2021-09-02 00:16:16 +09:00
voroskoi
f22e0aa2ae
Add zig tree-sitter support ( #631 )
...
* Add initial zig tree-sitter support
* zig/highlights.scm: remove unnecessary queries
* Add zig/indents.toml
2021-08-28 13:32:01 +09:00
Yusuf Bera Ertan
ac8bc54108
fix: add missing optional keyword to protobuf syntax
2021-08-20 19:52:21 +09:00
Yusuf Bera Ertan
2f42b2338e
feat: add indenting for protobuf
2021-08-19 09:54:14 +09:00
Yusuf Bera Ertan
4b45f27a13
feat: add protobuf tree-sitter parser with highlighting queries
2021-08-19 09:54:14 +09:00
Ivan Tham
aaccc9419a
Add ledger tree-sitter ( #572 )
...
Might need to update later since the current one highlight does not
work very well yet.
2021-08-16 11:03:57 +09:00
Ivan Tham
a364d6c383
Add latex
2021-06-16 21:42:05 +09:00
Timothy DeHerrera
38073fd64c
Add Nix syntax
2021-06-10 22:01:48 +09:00
notoria
e46346c907
Correct tree-sitter-haskell submodule
2021-06-10 22:00:08 +09:00
notoria
1a3a924634
Implement Debug for data structure as a feature
2021-06-10 22:00:08 +09:00
Jan Hrastnik
212f6bc372
changed flag in build_cpp '/std:c++14' to '/std:c++17' due to tree_sitter_haskell not compiling on msvc without it
2021-06-06 09:27:58 +09:00
Corey Powell
01dd7b570a
Restored haskell syntax
...
It seems to work
2021-06-05 01:17:44 +08:00
Corey Powell
0bb375bafa
Added missing tree-sitter-elixir submodule
2021-06-02 06:43:22 -05:00
Blaž Hrastnik
71c06c11cb
Import tree sitter queries.
2021-04-08 23:25:35 +09:00
Blaž Hrastnik
6238be230f
Update tree-sitter grammars.
2021-03-02 18:32:03 +09:00
Blaž Hrastnik
15dd7ca6d8
syntax: Stop compiling haskell, seems unmaintained and slowest to compile
2021-01-19 16:57:19 +09:00
Jan Hrastnik
dc11124df5
added tab to insert mode
2020-10-04 15:40:16 +09:00
Blaž Hrastnik
956ccc7b5c
Update grammar repos.
2020-10-01 18:45:14 +09:00
Blaž Hrastnik
eb639eb2e4
More robust syntax detection/grammar loading.
2020-09-22 18:27:37 +09:00
Blaž Hrastnik
7eac12a4bb
Add helix-syntax as a wrapper around tree-sitter parsers.
2020-09-09 14:41:12 +09:00