mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 20:37:44 +03:00
Add pest support (#10616)
Support [pest-parser](https://github.com/pest-parser) - [pest-language-server](https://github.com/pest-parser/pest-ide-tools) - [tree-sitter-pest](https://github.com/pest-parser/tree-sitter-pest) close #7878
This commit is contained in:
parent
ec224798e7
commit
724a96abc8
6 changed files with 95 additions and 0 deletions
8
runtime/queries/pest/textobjects.scm
Normal file
8
runtime/queries/pest/textobjects.scm
Normal file
|
@ -0,0 +1,8 @@
|
|||
(grammar_rule (_) @class.inside) @class.around
|
||||
(term (_) @entry.inside) @entry.around
|
||||
|
||||
(line_comment) @comment.inside
|
||||
(line_comment)+ @comment.around
|
||||
|
||||
(block_comment) @comment.inside
|
||||
(block_comment)+ @comment.around
|
Loading…
Add table
Add a link
Reference in a new issue