razetime / bqn-vscode

BQN programming language vscode plugin (symbol input, syntax highlighting)
MIT License
22 stars 6 forks source link

Backslash substitution does not work properly when Vim extension is enabled #28

Closed zopsicle closed 1 year ago

zopsicle commented 1 year ago

When used together with the Vim extension, if the cursor is before a character, completing a backslash substitution places the cursor after that character, instead of after the newly inserted character. For instance, in the below screen capture, the cursor is expected to be positioned before the f instead of after the f after the substitution:

https://github.com/razetime/bqn-vscode/assets/50083900/20b90105-27ac-41ab-b06a-a308b313bfef

Another issue is that, when entering a command (press : in normal mode), backslashes cannot be inserted into the command; they are instead inserted into the file:

https://github.com/razetime/bqn-vscode/assets/50083900/1b548f82-6a12-4cf2-b34b-95c7480462bb

Using BQN language v0.1.5 and Vim v1.26.0.

razetime commented 1 year ago

I doubt i can address interactions with other extensions properly. However, if you have a system-wide input method that works in vscode, I can add an option to disable backslash substitution.

razetime commented 1 year ago

Backslash can be disabled in the upcoming version 0.1.6.