Fork of https://github.com/vala-lang/tree-sitter-vala
Commits at 2606c054418ce58aaebaaa67feebf58c73417497
2606c054Set "linguist-generated" attribute on generated files
Tree sitter CLI generates files under `src/`.
Shota FUJI
authored at
Shota FUJI
comitted at
12617c61Fix parse error on "Foo() {}" struct initialization
https://wiki.gnome.org/Projects/Vala/Tutorial#Structs
Shota FUJI
authored at
Shota FUJI
comitted at
39ca73c8Generate using the latest tree-sitter CLI
Just ran "tree-sitter generate".
There were warnings and "tree-sitter test" complains "highlights.scm"
sets wrong number of arguments, but ignoring as I don't what it is.
```
$ tree-sitter test
attributes:
1. ✓ Attributes
expressions:
2. ✓ Expressions
namespaces:
3. ✓ Namespaces
preprocessor:
4. ✓ Preprocessor
strings:
5. ✓ Strings
using-directives:
6. ✓ Using directives
Total parses: 6; successful parses: 6; failed parses: 0; success percentage: 100.00%; average speed: 3867 bytes/ms
Error in query file "highlights.scm"
Caused by:
Query error at 52:1. Invalid predicate: Wrong number of arguments to #match? predicate. Expected 2, got 8.
```
Shota FUJI
authored at
Shota FUJI
comitted at
97e6db3cREADME.md: explain how to install this in neovim (#5)
* README.md: explain how to install this in neovim
* Update README.md
Co-authored-by: Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com>
---------
Co-authored-by: Ben Iofel <1713819+benwaffle@users.noreply.github.com>
Co-authored-by: Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com>mr-nice
authored at
GitHub
comitted at
d7402e6dhandle left-contained expressions
Expressions that don't need parentheses when there is a unary operator
to their left. For example, yield expressions:
if (!yield x ())
...
Princeton Ferro
authored at
Princeton Ferro
comitted at
04657341fix ambiguity with *-expressions
Fixed ambiguity with expressions with asterisks, like local declarations
with pointer types, pointer dereferences, or multiplications.
Princeton Ferro
authored at
Princeton Ferro
comitted at