Stephan Seitz
dff252d32a
highlights(cpp): add static_assert
2021-07-06 18:48:08 +02:00
Samyak S Sarnayak
9799a80c55
fix(ecma): add indents to switch and cases
...
fixes nvim-treesitter#1384
2021-07-06 09:39:56 +02:00
Stephan Seitz
53d92f65bd
parsers: Teal now requires generate from grammar
2021-07-06 01:55:45 +02:00
GitHub
0a363c55d3
Update lockfile.json
2021-07-06 01:55:45 +02:00
Sergio Alejandro Vargas
820b4a9c21
Use @keyword.function consistently
2021-07-06 00:53:40 +02:00
Sergio Alejandro Vargas
017760113a
Highlights(python): Add @keyword.function
...
Use `@keyword.function` for `def` and `lambda`
2021-07-06 00:53:40 +02:00
Santos Gallegos
3413581b58
Docs: mention that indentation is still experimental
2021-07-05 19:26:35 +02:00
Santos Gallegos
f3d0bdcf6f
Docs: document additional_vim_regex_highlighting option
2021-07-05 19:24:05 +02:00
Santos Gallegos
437e41e9fc
Luacheck: use config file to exclude files
2021-07-05 12:39:32 +02:00
Santos Gallegos
8b876207e6
Update used_by for parent parsers
...
html_tags and ecma don't have a parser of they own,
but that's actually just to get around to inherit
common queries.
When editing these "base" queries,
the playground breaks. Having them in used_by would fix this.
2021-07-05 12:39:00 +02:00
Stephan Seitz
70f739c337
highlights(zig): highlight unreachable
2021-07-05 12:37:21 +02:00
Santos Gallegos
bd3363e01d
Checkhealth: include injections
...
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
2021-07-05 12:34:47 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code ( #1480 )
2021-07-04 21:12:17 +00:00
antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02:00
Omar Zeghouani
859c743296
locals: add more scopes
2021-07-04 21:48:20 +02:00
Github Actions
03f7bf7b49
[docgen] Update README.md
...
skip-checks: true
2021-07-04 21:17:48 +02:00
Stephan Seitz
45cb7ef290
highlights(zig): use @string.escape for escape sequences
2021-07-04 21:17:48 +02:00
Wilman Barrios
486c86f1cd
Add support for match expression in PHP ( #1482 )
2021-07-04 12:52:29 -05:00
GitHub
b3aac12f59
Update lockfile.json
2021-07-04 15:30:52 +02:00
Shane Hird
5f60666d97
Fixed linting issues
2021-07-04 14:59:13 +02:00
Shane Hird
7dccbbad6c
Reduce diffs from master
2021-07-04 14:59:13 +02:00
Shane Hird
a8d64922fa
Re-introduce prompting for installation
2021-07-04 14:59:13 +02:00
Shane Hird
303121e0ec
Improved passing bang to functions
2021-07-04 14:59:13 +02:00
Shane Hird
289e73b889
Fix ensure_installed function
2021-07-04 14:59:13 +02:00
Shane Hird
76ea2b8871
TSUpdate does not install if up to date
2021-07-04 14:59:13 +02:00
Shane Hird
b46580fb66
Use bang for TSInstall commands
2021-07-04 14:59:13 +02:00
David Hotham
9bcf658ca4
fold HCL objects ( #1479 )
2021-07-03 16:00:20 -05:00
github-actions[bot]
8bbbd5f637
Update lockfile.json ( #1466 )
...
Co-authored-by: GitHub <noreply@github.com>
2021-07-03 18:30:32 +00:00
oponkork
4eb19c9e6d
feat(fortran): moved procedure to @keyword.function
2021-07-02 22:52:28 +02:00
oponkork
af9dfe99ef
feat(fortran): Improved and sorted highlight queries
2021-07-02 22:52:28 +02:00
mhoffm
8eb29ef93e
highlight template interpolation enclosures as punctuation.bracket; cleanup
2021-07-02 19:48:19 +02:00
mhoffm
e607de4e1e
update lockfile to point to v0.4.0; update highlight queries
2021-07-02 19:48:19 +02:00
mhoffm
b67442f112
fix missing maintainer in hcl parser config
2021-07-02 19:47:30 +02:00
Gregory Anders
c71edcd781
fish: only highlight 'test' keyword instead of entire condition ( #1464 )
2021-07-02 09:52:24 +00:00
Uy Ha
fbbfa3bda0
Move macro to @function.macro capture
2021-07-02 08:37:02 +02:00
Uy Ha
a8a7200241
Change captures:
...
- Disable highlight for `variable_ref`
- Capture `ENV` and `CACHE` as `@symbol`
- Capture '$', '{', '}', '(', ')' as punctuation
2021-07-02 08:37:02 +02:00
Uy Ha
c214c7c563
Remove query for specific keywords for now
2021-07-02 08:37:02 +02:00
Uy Ha
e121e52b2d
Add comment parsing and highlight whole bracket argument
2021-07-02 08:37:02 +02:00
Uy Ha
6a2ce27949
Fix wrong name:
...
- `fold.scm` -> `folds.scm`
2021-07-02 08:37:02 +02:00
Uy Ha
e01e79c46c
Add external scanner for cmake parser
2021-07-02 08:37:02 +02:00
Uy Ha
b090c94a7a
Capture variable_ref instead of variable for @variable
2021-07-02 08:37:02 +02:00
Uy Ha
d1a5d827ae
Change @parameter capture to @string
2021-07-02 08:37:02 +02:00
Uy Ha
0a2828a04c
Move keywords to their appropriate capture:
...
- Unary and binary operator to `@keyword.operator`
- Boolean constants to `@boolean`
2021-07-02 08:37:02 +02:00
Uy Ha
4ab1647f20
Highlight only command name instead of the whole call
2021-07-02 08:37:02 +02:00
Uy Ha
4bc6b7c85a
Remove non-foldable commands (incorrect copy and paste)
2021-07-02 08:37:02 +02:00
Uy Ha
485cedeed6
Add fold.scm
2021-07-02 08:37:02 +02:00
Uy Ha
90cddb0112
Refine highlights.scm:
...
- Match repeat, conditional, etc. to their corresponding commands
- Clean up `@parameter` match
- Add `$ENV` and `$CACHE` to queries
2021-07-02 08:37:02 +02:00
Uy Ha
9dac8b403d
Add maintainer info
2021-07-02 08:37:02 +02:00
Uy Ha
df024e233a
Add highlights.scm
2021-07-02 08:37:02 +02:00