tree-sitter-vala
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  31. 31
  32. 32
  33. 33
  34. 34
  35. 35
  36. 36
  37. 37
tree-sitter-vala
----------------

## Workflow

You need the tree-sitter CLI. On Arch, install `tree-sitter`.

1. edit `grammar.js`
2. `tree-sitter generate`
3. `tree-sitter test`

You can use `tree-sitter parse <file>` and `tree-sitter highlight <file>` after
regenerating.

## Neovim integration

For a working neovim integration you need to install this grammar with

```
:TSInstall vala
```

And you need to install the [vala.vim](https://github.com/vala-lang/vala.vim) plugin to recognize the filetype.

For [vim-plug](https://github.com/junegunn/vim-plug) this would be:

```
Plug 'vala-lang/vala.vim'
```

Then install with

```
:PlugUpdate
```

For other plugin mangers consider the install steps will be different.