Pedro Castro
807b20d0de
indents(r): add indents support
2022-01-29 15:25:56 +01:00
Stephan Seitz
3f876efce5
tests: use main parsers instead of nvim-treesitter parser for tests
2022-01-29 13:11:56 +01:00
Stephan Seitz
e4675bc410
highlights(c/cpp): highlight case labels as constants
2022-01-29 13:11:56 +01:00
Stephan Seitz
1d3111ccb1
highlights(c): highlight enum variants as @constant
...
Fixes #2120
2022-01-29 13:11:56 +01:00
Stephan Seitz
974e2181a0
highlights(cpp): fix function highlighting of Foo::bar::baz()
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2396
2022-01-29 12:40:35 +01:00
Mads Kjeldgaard
0f6492506d
supercollider: add support for const
2022-01-29 11:10:24 +01:00
Mads Kjeldgaard
631734743a
supercollider: update indent query to match upstream
2022-01-29 11:10:24 +01:00
github-actions[bot]
d87e2200c6
Update lockfile.json ( #2394 )
...
Co-authored-by: GitHub <noreply@github.com>
2022-01-29 08:48:35 +00:00
GitHub
d91d94aa9f
Update lockfile.json
2022-01-28 20:17:25 +01:00
Stephan Seitz
7f7ef0af9d
folds(c): fold raw compound_statements
...
This will fold in particular around raw braces
as reported in #2359 while avoiding to have double folds
at functions+braces.
2022-01-28 19:54:26 +01:00
Stephan Seitz
c4e3564ea3
highlights(python): add support for pattern matching
...
Fixes #2080
Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
2022-01-28 19:11:20 +01:00
Stephan Seitz
542d098e14
highlights(go): highlight package_identifier as @namespace ( #2371 )
2022-01-28 18:44:32 +01:00
github-actions[bot]
875c1c862c
Update lockfile.json ( #2386 )
...
Co-authored-by: GitHub <noreply@github.com>
2022-01-28 15:17:52 +00:00
Munif Tanjim
b51cbf2f9b
Update lockfile.json ( #2385 )
2022-01-28 15:01:25 +00:00
GitHub
e5cdde3d8e
Update lockfile.json
2022-01-28 14:59:00 +01:00
Pedro Castro
07770b2daa
highlights(r): highlight string_escape, change parameter priority and update pipe
2022-01-28 14:32:58 +01:00
github-actions[bot]
02460d4230
Update lockfile.json ( #2380 )
...
Co-authored-by: GitHub <noreply@github.com>
2022-01-27 15:54:37 +01:00
Christian Clason
422657626b
chore: run parser update at least daily ( #2379 )
2022-01-27 15:41:11 +01:00
Vasiliy Morkovkin
620cc936ad
update TLA+ revision, add queries for PlusCal ( #2344 )
2022-01-25 21:02:20 +00:00
kylo252
1ea964a13c
refactor(lockfile): use better jq parsing
2022-01-25 18:38:34 +01:00
GitHub
09bd6b5d7e
Update lockfile.json
2022-01-25 18:15:52 +01:00
Github Actions
923f91b5d6
Update README
2022-01-25 18:05:31 +01:00
Clay
2532937ba1
Add tree-sitter-eex parser for (L)EEx files ( #2351 )
2022-01-25 16:52:51 +00:00
GitHub
d2981d20da
Update lockfile.json
2022-01-25 14:56:11 +01:00
kylo252
24688a02bc
refactor(makefile): better powershell handling
...
- add missing $(MKDIR) variable
- create a simple function to allow running `make clean`
without an error if a file doesn't exist
2022-01-25 13:41:01 +01:00
kylo252
c08821bb79
test: use powershell by default
2022-01-25 09:04:57 +01:00
kylo252
67f5acb882
refactor(installer): more modular makefile
...
- support both scanner.cc and scanner.c
- allow complete override for (CFLAGS,CXXFLAGS,LDFLAGS)
- add `clean` target
- add `install` target
- add windows support
2022-01-25 09:04:57 +01:00
Cédric Barreteau
91fdda9b5c
folds(c): fold at compound_statement
2022-01-24 22:56:58 +01:00
Stephan Seitz
ae4c982f94
indents(php): align with C indentation
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
2022-01-24 22:33:41 +01:00
GitHub
77d247b300
Update lockfile.json
2022-01-24 16:45:55 +01:00
Christian Clason
97ffd5c43d
doc: stress need to :TSUpdate after lockfile change
2022-01-24 16:28:02 +01:00
Thomas Vigouroux
2bdaff2ab0
feat(vim): highlight "higlight" variants
2022-01-24 13:24:31 +01:00
Thomas Vigouroux
073a3ac929
feat(vim): support syntax command
2022-01-24 13:24:31 +01:00
Ryan Roden-Corrent
f67eb83be5
feat(indent): Implement basic indent for gdscript.
...
Indent is not handled correctly when adding new lines.
It seems that functions/loops/etc. are not recognized until they have at
least one indented block.
For example, if you enter a newline after `func foo():`, the cursor will
not be indented. If you manually indent and add a line like `pass`,
e.g.:
```
func foo():
pass
```
now any insertions above or below `pass` will be indented correctly.
This might be an issue with the grammar, as it seems to apply to highlights
as well.
The following will not be highligted
```
func foo():
```
However, the following will be:
```
func foo():
pass
```
2022-01-24 13:11:01 +01:00
GitHub
674df40120
Update lockfile.json
2022-01-24 13:07:59 +01:00
Michael Härtl
d3dbd4590e
fix(phpdoc) Improve keyword query
2022-01-24 11:47:11 +01:00
Clay
9e90866bce
Upgrade to HEEx parser 0.3.0
2022-01-24 08:29:42 +01:00
Clay
c7d5ba7212
Add new Elixir language injections
2022-01-24 08:27:44 +01:00
Clay
7a1c404fe7
Fix highlights of module attributes and doc sigils
2022-01-24 08:27:44 +01:00
GitHub
3f8829cfb8
Update lockfile.json
2022-01-23 22:42:18 +01:00
Christian Clason
c162991fa1
ci: bump tree-sitter to 0.20.4
...
fixes issues with `parser.h` not being generated
2022-01-23 22:24:16 +01:00
Stephan Seitz
bb33aea03c
Set CXX standard per parser and fix Norg
2022-01-23 16:27:25 +01:00
Github Actions
9419107d86
[docgen] Update README.md
...
skip-checks: true
2022-01-23 16:27:25 +01:00
Stephan Seitz
a37c97545f
Allow compilation via makefile
2022-01-23 16:27:25 +01:00
Jozef Grajciar
045cb86d44
Add tree-sitter-norg
2022-01-23 16:27:25 +01:00
Christian Clason
fcabd8dc18
fix: bump phpdoc parser to 0.0.6
2022-01-23 16:10:50 +01:00
Christian Clason
bb319daf5f
feat: specify abi version for generate on newer ts cli
...
Check tree-sitter CLI version and if > 0.20.3 and generating a parser
from grammar, use `--abi=vim.treesitter.language_version`.
Besides being able to opt-in to newer ABI benefits, this is a necessary
workaround for an upstream bug with 0.20.3, where `parser.h` is not
generated if the (optional) `--abi` flag is omitted.
2022-01-22 22:56:50 +01:00
Munif Tanjim
020905ff26
ci: fix cache path for rust cargo
2022-01-22 20:54:53 +01:00
Christian Clason
b71d7cbd60
ci: drop windows+clang
...
takes significantly longer than other combinations
2022-01-22 19:32:24 +01:00
Ryan Roden-Corrent
59ddebd75c
fix: Don't require node for gdscript.
...
The upstream repo has pre-generated bindings at:
https://github.com/PrestonKnopp/tree-sitter-gdscript/tree/master/src
2022-01-22 17:22:53 +01:00