bernardo-bruning / godot-vim

Introduces motions vim on godot editor
MIT License
63 stars 13 forks source link

Incompatible with Godot 4.3 rc1 #31

Open brevven opened 4 months ago

brevven commented 4 months ago

This plugin seems to be incompatible with Godot 4.3 rc1, not sure if it's just my setup though.

Many things are now broken in some way. However, they do feel related, likely a shared underlying cause but I can't be sure.

Some examples:

Some things that seem to be working:

WilliamSundqvist commented 3 months ago

I experience the same issues

wenqiangwang commented 2 months ago

I have been working on another vim emulator plugin (https://github.com/wenqiangwang/godot-vim). It seems Godot 4.3 changed the behavior of CodeEdit.select function and broke the plugin. That could be the same reason here. In earlier version, CodeEdit.select has to select from lower offset to higher offset, but it does not affect cursor position. In 4.3, it can go both ways, but it moves cursor along with it, which essentially changed all selection related behavior.

I have fix the issue for 4.3, please feel free to try it out.