tree-sitter-vala

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

Commits at 093d98428caa4a6fe8b873fb508b022b33fd7f48

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