intero.nvim
intero.nvim copied to clipboard
InteroType strips away last char
When I select a function/code manually and call InteroType, the last letter of the selection is removed. The issue is in here with the '- 2' at the end. There is an updated version of this code snippet here: http://stackoverflow.com/a/6271254
In the current version to make it behave correctly I need to select the function and the next char.
Yeah, that was intended, but probably wrong... I'll fix this soon
Ohhh, so that's why goto und uses weren't working. I do wonder, though - what made you decide to do it like this? :D
If you can, it would be great if goto and uses worked even if you just hover over the word, but I suppose I can just make my binding viw:InteroGoto<CR>
or something.
For the time being, I guess I'll just add an l
in there.