meain/evil-textobj-tree-sitter

Implement `inhertis` marker support

Closed this issue · 0 comments

meain commented

This is something that I overlooked in my initial implementation. In case of the neovim project, they provide an option to inherit files from other language textobjects using ; inherits: <lang> marker at the top of the file. We will have to reimplement this logic on our side to be able to use a bunch of the defined textobjects.

Ref: nvim-treesitter/nvim-treesitter#564


Check the file manually, if you find an inherit line and include the code in that file to this. Do this recursively.