Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vala-lang/tree-sitter-vala
Vala grammar for tree-sitter (WIP)
https://github.com/vala-lang/tree-sitter-vala
tree-sitter vala
Last synced: 3 months ago
JSON representation
Vala grammar for tree-sitter (WIP)
- Host: GitHub
- URL: https://github.com/vala-lang/tree-sitter-vala
- Owner: vala-lang
- License: lgpl-2.1
- Created: 2021-08-29T21:24:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T23:08:39.000Z (3 months ago)
- Last Synced: 2024-10-30T01:47:59.391Z (3 months ago)
- Topics: tree-sitter, vala
- Language: C
- Homepage:
- Size: 505 KB
- Stars: 13
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
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 ` and `tree-sitter highlight ` 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.