Santos Gallegos

Results 348 comments of Santos Gallegos

The license in on each file (MIT) https://github.com/kana/vim-textobj-user/blob/master/doc/textobj-user.txt#L3-L25 https://github.com/kana/vim-textobj-user/blob/master/autoload/textobj/user.vim#L2-L23

@nanozuki it's already there, but you need to use nightly or wait for a new release of neovim if you wan to use stable neovim.

@ArenM make sure to also install treesitter-git, or whatever the package name is to install the latest version of treesitter.

They shouldn't include braces. Depending on the grammar this could be easy to fix or not... For js and go, looks like it require for us to support the `*/+`...

I think this could be possible with an injection (contrary to support this in the grammar itself). So we would need to write a small grammar for the string placeholders,...

This is already fixed, you need to set the `lookahead` option to `true` https://github.com/nvim-treesitter/nvim-treesitter-textobjects/blob/f51c3feb5abe1dea556c9076b8a8928d3bf56790/doc/nvim-treesitter-textobjects.txt#L21.

@bkoropoff we do support the lookbehind option too https://github.com/nvim-treesitter/nvim-treesitter-textobjects/blob/99600641de75419f7729698acf9dc3d79117ff70/lua/nvim-treesitter-textobjects.lua#L33, those options are currently global, I have opened this issue to make the settings per-mapping https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/156.

Hi, what file are you using to test this?

Also, you can check the output of ``` :map [[ :map ]] ``` to verify if the mappings are set