John Drouhard
662f3aaadd
cpp: update lockfile.json and fix for breaking changes
2021-09-26 11:20:09 +02:00
Stephan Seitz
351eefd988
injections(teal): fix cdef injection
2021-09-25 00:59:40 +02:00
Github Actions
46858cfeea
[docgen] Update README.md
...
skip-checks: true
2021-09-25 00:59:40 +02:00
Stephan Seitz
b7c95eef95
injections(lua): fix cdef injection
...
Fixes #1840
2021-09-25 00:59:40 +02:00
Santos Gallegos
e4c56e691a
Use vim-range style (1-index based) when possible ( #1841 )
...
https://github.com/nvim-treesitter/nvim-treesitter/pull/1829
half fixed incremental selection for the vim parser,
but other bugs still remain (infinite selection and skip selecting the
root node).
Problems can be replicated with these two files:
(missing selecting the root node)
```vim
set scrolloff=7
set scrolloff=7
```
(infinite loop)
```vim
set scrolloff=7
```
The main problem is that we try to map
the current selection range to a TS range,
but the TS range of a node could include the EOL/EOL marks
so it's impossible to know when to change the vim range
to match the TS range, is more easy to transform the
TS range to a vim range and do the comparison.
2021-09-24 17:46:44 -05:00
GitHub
6b3f908751
Update lockfile.json
2021-09-21 01:23:19 +02:00
GitHub
3a88c639f5
Update lockfile.json
2021-09-21 01:16:42 +02:00
Lucas Crownover
ec31c7efab
"::" should be of type "operator"
...
swap constant for operator per treesitter recommendation
2021-09-21 01:08:32 +02:00
delphinus
2f37720c8a
Separate special variables to catch up master
2021-09-21 01:08:32 +02:00
delphinus
0aaf937802
Use @string.regex to highlight regex's
2021-09-21 01:08:32 +02:00
delphinus
ae9a9d60f1
Add minimum implementation for highlights
2021-09-21 01:08:32 +02:00
Lucas Crownover
da4488c08b
Swapping to the correct repo
2021-09-21 01:08:32 +02:00
Lucas Crownover
c99389fcf5
Adding perl parser
2021-09-21 01:08:32 +02:00
GitHub
f1ccd229f1
Update lockfile.json
2021-09-20 22:47:53 +02:00
mhoffm
09ad32c91b
update hcl parser, update queries
2021-09-20 22:39:32 +02:00
maxxnino
85a49875c6
Update lockfile.json
2021-09-20 11:46:24 +02:00
maxxnino
f76737ee33
Zig queries: highlight, fold and indent
...
* fold for if/while/for
* highlight "_" for ignore variable
* highlight "c" for PtrTypeStart
* highlight "?" for optional type
* remove duplicate query node in indent
2021-09-20 11:46:24 +02:00
Github Actions
440b69f8d1
[docgen] Update README.md
...
skip-checks: true
2021-09-19 20:02:28 +02:00
Stephan Seitz
18dc243188
highlights(c): add Mircosoft attributes
2021-09-19 20:02:28 +02:00
Santos Gallegos
3aa122edfd
Fix incremental selection for nodes that include EOL
...
From `:h setpos()`
> If "col" is smaller than 1 then 1 is used.
This can be tested with incremental selection on a vim file.
```vim
set title
```
2021-09-19 14:54:45 +02:00
GitHub
48215a63f3
Update lockfile.json
2021-09-19 14:26:51 +02:00
kghugo
d5e87dde10
Support hjson
2021-09-19 14:19:20 +02:00
Stephan Seitz
5fa6e27427
highlights(c): add __attribute__
2021-09-19 14:13:50 +02:00
GitHub
2dfe72f32a
Update lockfile.json
2021-09-18 01:09:42 +02:00
Joaquín León
02a0719424
Kotlin queries: Handle package statements
2021-09-18 00:13:19 +02:00
Santos Gallegos
8b7f70d366
Ecma: increase priority of template_substitution
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1688
2021-09-17 22:08:12 +02:00
Github Actions
b7cdd739e4
[docgen] Update README.md
...
skip-checks: true
2021-09-17 22:03:47 +02:00
Stephan Seitz
440d666b68
test
2021-09-17 22:03:47 +02:00
Github Actions
8b8c434290
[docgen] Update README.md
...
skip-checks: true
2021-09-17 22:03:47 +02:00
Stephan Seitz
37d93ec017
highlights(c/cpp): react to upstream changes to attributes
2021-09-17 22:03:47 +02:00
Stephan Seitz
1092b6ba3a
highlights(cpp): add support for coroutines
2021-09-17 22:03:47 +02:00
GitHub
ee8f5f7852
Update lockfile.json
2021-09-17 21:11:02 +02:00
Stephan Seitz
dea66fb4ce
parsers: add glsl parser
2021-09-17 20:52:13 +02:00
GitHub
4b3d58d39c
Update lockfile.json
2021-09-16 23:13:55 +02:00
GitHub
51a6cbe5fd
Update lockfile.json
2021-09-16 22:56:05 +02:00
Matthew Wynn
649a7e6fe6
indents(hcl): add more indentation rules for HCL
2021-09-16 22:26:48 +02:00
GitHub
1b6e5abfcd
Update lockfile.json
2021-09-16 18:18:56 +02:00
rydesun
85fec328d2
Update DOT injections
...
Add comment
2021-09-16 18:12:07 +02:00
GitHub
182056640c
Update lockfile.json
2021-09-16 18:11:44 +02:00
Joakker
16a4da493c
New kotlin parser
2021-09-15 12:47:03 +02:00
GitHub
53797ad88f
Update lockfile.json
2021-09-14 21:44:41 +02:00
Ronnie Magatti
016c757d11
Address highlight comments about cwd, path, module
2021-09-14 21:36:55 +02:00
Ronnie Magatti
dcf20b8a23
Better differentiate 'keywords'
2021-09-14 21:36:55 +02:00
Stephan Seitz
b9d662cf89
chore: fix formatting in parsers.lua
2021-09-14 21:27:26 +02:00
Thomas Vigouroux
14e9df138b
fix(lang): only use first part in multi-lang
2021-09-14 21:27:26 +02:00
Sergio Alejandro Vargas
1d8dd9665c
docs: Update nvim-treesitter-highlights
...
- Fix misspellings, missing punctuation and capitalization.
- Clarify whether highlights apply to identifiers (e.g. `TSConstant`)
or to literal values (e.g. `TSConstBuiltin`).
- Extend examples.
See #1767
2021-09-14 21:15:20 +02:00
GitHub
60a92e3b00
Update lockfile.json
2021-09-11 02:18:25 +02:00
Otto Modinos
02350ab7da
fix(fennel): update parser and all the queries
2021-09-10 22:24:25 +02:00
Uy Ha
d6c7996412
[cmake] add highlights for add_custom_target and add_custom_command
2021-09-10 21:11:38 +02:00
Uy Ha
25956f4274
[cmake] Add highlighting for boolean values ( #1801 )
...
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-09-10 11:42:23 -05:00