Vscode-neovim: [minor]Visual selection not showing correct in some situations

Created on 18 Dec 2019  路  2Comments  路  Source: asvetliakov/vscode-neovim

Given a text: something

vim action: viw

If cursor postion is at the last character(e.g. g in this case), nothing seems to be selected, but if continue vim action like y the whole something is copied as expected. When cursor at other position works fine.

bug

All 2 comments

Looks like not easy to fix. Changing selection this case doesn't trigger cursor move event so vscode is unaware that the start of selection was changed. possible but very clunky workaround is to rebind v to notify vscode after operator has completed.

Fixed in 0.0.43 (will be released soon)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ppwwyyxx picture ppwwyyxx  路  4Comments

asvetliakov picture asvetliakov  路  5Comments

zeljkofilipin picture zeljkofilipin  路  3Comments

pieterdd picture pieterdd  路  4Comments

haberdashPI picture haberdashPI  路  3Comments