Amaan Qureshi
ed2c6da5a0
feat(bash): add missing highlights
2023-08-24 17:17:53 -04:00
ObserverOfTime
31f608e47b
feat(bash): fold heredocs
2023-08-24 12:11:16 +03:00
ObserverOfTime
103ecdf758
fix(bash): fix injections
2023-08-24 12:11:16 +03:00
ObserverOfTime
1ff7985a74
feat(bash): improve highlights
2023-08-24 12:11:16 +03:00
ObserverOfTime
71532e7776
feat(bash): add heredoc injection
2023-08-12 17:34:15 +02:00
Pham Huy Hoang
78b54eb7f6
chore(injections)!: update injection syntax to 0.9
...
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter
- update health check
- update doc
2023-08-12 17:34:15 +02:00
Lewis Russell
d9be302f74
fix(spell): do not spell check certain types of strings ( #5203 )
...
- Document that only certain kinds of strings are spell checked, and
reasons why they may not.
- Remove spell checking for bash strings.
2023-08-07 13:42:24 +01:00
Akmadan23
c005b8a880
feat(bash): add various shell builtins
2023-06-19 02:36:16 -04:00
Frank Bearoff
1b5a7334bb
feat(bash): highlight until as @repeat
2023-06-05 12:32:53 -04:00
Frank
cb6d94ef7b
add "select" to @repeat highlight group
2023-06-02 01:45:12 -07:00
Amaan Qureshi
85330918f0
perf: remove match where possible
2023-04-21 18:24:17 -04:00
ObserverOfTime
9018fb26cc
injections: add more regex injections
2022-11-27 17:35:10 +01:00
ギャラ
2d7249409d
fix(bash): Rename ansii_c_string to ansi_c_string. ( #3702 )
2022-10-23 09:57:56 +00:00
ObserverOfTime
9b43ab819c
highlights: use @preproc where appropriate
2022-10-15 08:49:01 -07:00
ObserverOfTime
b74bd776f2
highlights(bash): add all signal names
2022-10-15 08:12:55 -07:00
Lewis Russell
37398c7d68
feat(spell): support more languages
2022-09-26 13:47:12 +01:00
lfenzo
c784720917
Split func/method definition from calls in several programming language queries
2022-08-03 12:05:30 -07:00
adrian5
fa6031d81a
highlights(bash): add more builtins
2022-04-04 18:52:14 +02:00
Stephan Seitz
4fa30b5249
highlights(bash): add operators ">>", "<<"
2022-03-16 15:05:03 +01:00
Stephan Seitz
2cb67b8f4e
folds(bash): fold at c_style_for_statement
2022-01-09 20:16:21 +01:00
lucy
be741e2568
highlights(bash): add [[ ]]
2021-12-14 19:31:21 +01:00
lucy
4871b2b440
highlights(bash): add process substitution
2021-12-14 19:31:21 +01:00
Stephan Seitz
28cc92a2f6
highlights(bash): highlight "((" "))"
2021-11-28 15:01:24 +01:00
Lewis Russell
011ac894ec
Prefer lua-match over match
...
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
Sergio Alejandro Vargas
820b4a9c21
Use @keyword.function consistently
2021-07-06 00:53:40 +02:00
Joakker
c699cc2e47
Use #any-of? instead of #match? where posible
2021-06-25 00:22:48 +02:00
Santos Gallegos
67f0857015
Revert "Comment: use @combined to create just one tree per buffer ( #1252 )"
...
This reverts commit 4a7a713c52 .
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer ( #1252 )
...
* Comment: use `@combined` to create just one tree per buffer
There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251
* Add injections for scss
* Fix jsonc
* Combine jsdoc
2021-04-28 07:19:07 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
Mike
98fba24acf
feat: Add more bash queries
...
Add missing fold queries
Add "function" to keywords highlights
2020-12-25 15:56:27 +01:00
David Hotham
35dec1ceeb
remove duplication of query for number
2020-12-25 15:56:06 +01:00
David Hotham
0c19049023
match test for regex
2020-12-25 15:56:06 +01:00
David Hotham
026314f2a9
fixes to bash highlighting
2020-12-25 15:56:06 +01:00
Stephan Seitz
b4d91a340e
Bash highlights: reset highlighting in expansion
2020-12-14 07:38:38 +01:00
Santos Gallegos
76c00934a6
Bash: update highlights
...
Following some of our conventions and some bits from atom
https://github.com/atom/language-shellscript/blob/master/grammars/tree-sitter-bash.cson :
- Uppercase var are constants
- `$` is a special symbol, not part of the name
- Builtin constants and functions
2020-09-19 13:33:05 +02:00
Santos Gallegos
fe06e6fbec
Bash: fix hl capture groups
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
2020-09-13 17:55:37 +02:00
Thomas Vigouroux
b90e520ccd
ci: fix wrong queries
2020-09-11 12:02:35 +02:00
kyazdani42
15b182b2a9
fix bash highlight
2020-09-06 17:59:16 +02:00
Steven Sojka
ce43dbf54c
fix(queries): use vim-match for non lua regexes
2020-08-16 18:31:56 +02:00
TravonteD
45a1c3998d
bash: add locals.scm for use with definition highlighting
2020-07-19 22:16:00 +02:00
TravonteD
51a52b85cf
add highlight queries for bash
2020-06-23 16:15:19 +02:00