Tree Sitter parser and nvim-treesitter support #964
Labels
domain: dev
Anything related to the development environment
type: feature
A value-adding code addition that introduce new functionality.
I'm using and following vector for years. There is a missing part since the VRL was introduced till now, the syntax support in editors. I found some people were trying to build tree-sitter parse few years ago but not finished at the end.
Earlier, I've written a simple vim plugin via the original vim syntax match to highlight VRL codes. But that's not good enough for the modern develop environment.
Recently, I wrote a VRL parser and integrated it into neovim.
Finally, we have a better syntax highlighting and something more provided by the power of tree-sitter, such as code folding, auto indentation, variable references, and code injections in YAML/TOML files. Other editor than neovim could be easily adding VRL support via tree-sitter support.
Hope that helps.
The text was updated successfully, but these errors were encountered: