7ecfccabMigrate to tree-sitter.json (lang version 15)
Having "package.json" is confusing (it's not published to npm.)
Also "tree-sitter" CLI displays warning everytime I run generate command
if a project does not have `tree-sitter.json` file.
Shota FUJI
authored at
Shota FUJI
comitted at
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
e0f83467highlight string formatters and other fixes
- also allow attributes on errordomain methods
Princeton Ferro
authored at
Princeton Ferro
comitted at
6c753f01improve grammar
- support preprocessor statements
- support constructors and destructors
- other fixes
Princeton Ferro
authored at
Princeton Ferro
comitted at
97545d4cadd more rules, improve highlights
- add enum, errordomain, interface, and struct
- highlight more keywords
Princeton Ferro
authored at
Princeton Ferro
comitted at
f594e0feimprove grammar
- highlight var and 'void' as builtin types
- allow non-decls in for statement
Princeton Ferro
authored at
Princeton Ferro
comitted at
bf60a44dimprove grammar and fix member access parsing
- highlight operators
- highlight names in method calls
- fix some ambiguities
Princeton Ferro
authored at
Princeton Ferro
comitted at
1b6079ecimprove grammar and implement highlighting queries
- drop type_weak
- introduce queries/highlights.scm
- add some more rules to the grammar
Princeton Ferro
authored at
Princeton Ferro
comitted at