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
  31. ff238441 support logical operator keywords Princeton Ferro authored at Princeton Ferro comitted at
  32. 8ab2dedd highlight == operator Princeton Ferro authored at Princeton Ferro comitted at
  33. d2fdae3a support with statements Princeton Ferro authored at Princeton Ferro comitted at
  34. a934d634 support nested functions and a few fixes Princeton Ferro authored at Princeton Ferro comitted at
  35. f45d0127 support partial types Princeton Ferro authored at Princeton Ferro comitted at
  36. 9dbe0132 add locals query Princeton Ferro authored at Princeton Ferro comitted at
  37. a6126f33 highlight methods different from function calls Princeton Ferro authored at Princeton Ferro comitted at
  38. 63707301 add injection name Princeton Ferro authored at Princeton Ferro comitted at
  39. fe68baf6 fix escape sequences, catch clauses, pointer types Princeton Ferro authored at Princeton Ferro comitted at
  40. 9670fa95 highlight destructor names Princeton Ferro authored at Princeton Ferro comitted at
  41. 3af606b0 improve escape sequences and yield Princeton Ferro authored at Princeton Ferro comitted at
  42. af8f0adb add 'value' expression - used within a property accessor Princeton Ferro authored at Princeton Ferro comitted at
  43. e0f83467 highlight string formatters and other fixes - also allow attributes on errordomain methods Princeton Ferro authored at Princeton Ferro comitted at
  44. f2b10392 improve grammar - add slice expression - fixes Princeton Ferro authored at Princeton Ferro comitted at
  45. 6c753f01 improve grammar - support preprocessor statements - support constructors and destructors - other fixes Princeton Ferro authored at Princeton Ferro comitted at
  46. e2a345e2 improve grammar - handle more expressions and declarations Princeton Ferro authored at Princeton Ferro comitted at
  47. 8d391baa add signals and delegates Princeton Ferro authored at Princeton Ferro comitted at
  48. bc98c908 add lambda expressions Princeton Ferro authored at Princeton Ferro comitted at
  49. afbf6c4f improve highlight - of symbols - "owned" keyword Princeton Ferro authored at Princeton Ferro comitted at
  50. 97545d4c add more rules, improve highlights - add enum, errordomain, interface, and struct - highlight more keywords Princeton Ferro authored at Princeton Ferro comitted at
  51. ee72702f add base access, improve element access exprs Princeton Ferro authored at Princeton Ferro comitted at
  52. 8855677d highlight using Princeton Ferro authored at Princeton Ferro comitted at
  53. f594e0fe improve grammar - highlight var and 'void' as builtin types - allow non-decls in for statement Princeton Ferro authored at Princeton Ferro comitted at
  54. d4f093a0 support switch statements Princeton Ferro authored at Princeton Ferro comitted at
  55. 3c63fbb7 add element access, yield expression; other fixes Princeton Ferro authored at Princeton Ferro comitted at
  56. ab58415d add more statements (if, while, do, for, foreach) Princeton Ferro authored at Princeton Ferro comitted at
  57. 34760c1f add try-catch-finally Princeton Ferro authored at Princeton Ferro comitted at
  58. bf60a44d improve grammar and fix member access parsing - highlight operators - highlight names in method calls - fix some ambiguities Princeton Ferro authored at Princeton Ferro comitted at
  59. 6d443bff improve constants, initializers, and static casts Princeton Ferro authored at Princeton Ferro comitted at
  60. 7f79306e improve grammar and highlighting - highlight keywords - add more rules Princeton Ferro authored at Princeton Ferro comitted at
  61. 6dcaef1b update README Princeton Ferro authored at Princeton Ferro comitted at
  62. 1b6079ec improve 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
  63. 4f97f0a5 fix method parameters Princeton Ferro authored at Princeton Ferro comitted at
  64. b633332d improve expressions Princeton Ferro authored at Princeton Ferro comitted at
  65. 2ed0adcd simplify grammar Princeton Ferro authored at Princeton Ferro comitted at
  66. 252a5d2f support field declarations Princeton Ferro authored at Princeton Ferro comitted at
  67. 7c1e64c6 add test for namespaces Princeton Ferro authored at Princeton Ferro comitted at
  68. cc2f97c9 Initial commit Princeton Ferro authored at Princeton Ferro comitted at