tree-sitter-vala

Commits at master

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