This kind of access was not supported. I think I go it working.
Sample:
obj.access['thing'].thing
Maybe there is a way to use the existing bracket_expression. But I was not able to. I have never modified a treesitter grammar before.
I wanted to try it out in neovim. But there seem to be more steps involved than i though.
- ERROR angular(highlights): .../share/nvim/runtime/lua/vim/treesitter/query.lua:259:
query: invalid node type at position 39 for language angular
angular(highlights) is concatenated from the following files:
| [ERROR]:".../nvim-treesitter/queries/angular/highlights.scm",
failed to load: .../share/nvim/runtime/lua/vim/treesitter/query.lua:259:
query: invalid node type at position 39 for language angular
This kind of access was not supported. I think I go it working. Sample:
Maybe there is a way to use the existing bracket_expression. But I was not able to. I have never modified a treesitter grammar before.
I wanted to try it out in neovim. But there seem to be more steps involved than i though.
What are the steps to get this working?