Andrew Radev
Andrew Radev
Sadly, I can't assist with that. My knowledge of how omnicompletion works is limited at best. I'll leave this issue open for @segfault.
I'm sorry it took so long to get to this issue. The problem with using the "global" modifier is that it's impossible to scope it to only a part of...
That does seem like it would be very useful. Unfortunately, I can't really figure out a way to implement it :/. The plugin uses `:substitute` to make the change, which,...
@mg979 This is interesting! The original reason I used `:substitute` is because I thought that column patterns wouldn't work with a string. The plugin adds patterns like `\%>2c` to limit...
As you say, the only way that I can see to do this reliably for arbitrary expressions is by getting an AST of this particular area of the buffer. Currently,...
This might be reasonable, although I'm not sure about the pattern. The `foo.has(bar)` expression won't work if it happens to be written as `foo.has( bar )`. Admittedly, I'm not sure...
The problem is not just multiple matches on the same line, it's _overlapping_ matches. Consider: ``` ruby if foo(bar: true) baz end ``` If the cursor is on `true`, then...
@mg979 That does seem like it could work. What do you think about adding it to the wiki as something that could be built on top of switch? https://github.com/AndrewRadev/switch.vim/wiki
@azamat-sharapov Could you post the full git output as text or attach it as a file, so I can run it locally? I could retype it from the image, but...
I see, this works fine for me, but I think I understand why it might not work now -- I think you might have `set nomagic` somewhere in your config....