tree-sitter-vala

Fork of https://github.com/vala-lang/tree-sitter-vala

Commits at 2606c054418ce58aaebaaa67feebf58c73417497

  1. 2606c054 Set "linguist-generated" attribute on generated files Tree sitter CLI generates files under `src/`. Shota FUJI authored at Shota FUJI comitted at
  2. 12617c61 Fix parse error on "Foo() {}" struct initialization https://wiki.gnome.org/Projects/Vala/Tutorial#Structs Shota FUJI authored at Shota FUJI comitted at
  3. 8f93cb7f Remove unnecessary file Shota FUJI authored at Shota FUJI comitted at
  4. 1345e07f Do not hard-code modifier string inside highlight query Shota FUJI authored at Shota FUJI comitted at
  5. 10fb4b1f Add support for "sealed" class modifier Shota FUJI authored at Shota FUJI comitted at
  6. b0903c79 Fix invalid predicate on nvim highlight query Shota FUJI authored at Shota FUJI comitted at
  7. 39ca73c8 Generate 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
  8. 4dd76a43 Format files with dprint Shota FUJI authored at Shota FUJI comitted at
  9. 14025cc6 Add dprint and nixfmt to dev tools Shota FUJI authored at Shota FUJI comitted at
  10. 9f3c0562 Create Nix Flake file for development shell Shota FUJI authored at Shota FUJI comitted at
  11. 991b6856 Create editorconfig file Shota FUJI authored at Shota FUJI comitted at
  12. 97e6db3c README.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
  13. 8f690bfa improve highlight of constants, symbols, macros Princeton Ferro authored at Princeton Ferro comitted at
  14. ce4ba4d0 support inline attribute lists Princeton Ferro authored at Princeton Ferro comitted at
  15. 84e15013 preprocessor syntax improvements Princeton Ferro authored at Princeton Ferro comitted at
  16. c15af34d improvements Princeton Ferro authored at Princeton Ferro comitted at
  17. 81217b20 Improve preprocessor highlighting Mateus Melchiades authored at Princeton Ferro comitted at
  18. c9eea93b project has moved to vala-lang Princeton Ferro authored at Princeton Ferro comitted at
  19. d93ccd4e nvim: use parameter instead of variable.parameter Princeton Ferro authored at Princeton Ferro comitted at
  20. 7313c05f add compiled src/ Princeton Ferro authored at Princeton Ferro comitted at
  21. 26360b7d improve highlighting of constants and OCEs Princeton Ferro authored at Princeton Ferro comitted at
  22. be0f7972 support more integers and reals Princeton Ferro authored at Princeton Ferro comitted at
  23. d7402e6d handle 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
  24. 6a0dd9d1 handle more strings Princeton Ferro authored at Princeton Ferro comitted at
  25. 952abb81 more comments in highlights.scm Princeton Ferro authored at Princeton Ferro comitted at
  26. 97a2fe29 highlight more operators and keywords Princeton Ferro authored at Princeton Ferro comitted at
  27. 5bc67c98 support optional 'not' in type relational expr Not yet supported in Vala. Princeton Ferro authored at Princeton Ferro comitted at
  28. cfd333b5 disable parsing of comments inside strings Princeton Ferro authored at Princeton Ferro comitted at
  29. 6ee98a91 add highlights for nvim-treesitter Princeton Ferro authored at Princeton Ferro comitted at
  30. 04657341 fix 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