You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I have been having some issues with source files where the text begins indented. Making modifications results in a de-sync between the floating window and the original buffer.
Here is an example
Screen.Recording.2022-04-28.at.09.07.49.mov
By adding this to my init.vim: lua require('yode-nvim.helper').getIndentCount = function(text) return 0 end
It stops the floating windows applying an indentation correction, but my modifications remain in sync:
Screen.Recording.2022-04-28.at.09.11.39.mov
This works well enough for me for now to take advantage of this awesome plugin, but would appreciate any insight you might have on what could be the original cause of this.
Hi there, I have been having some issues with source files where the text begins indented. Making modifications results in a de-sync between the floating window and the original buffer.
Here is an example
Screen.Recording.2022-04-28.at.09.07.49.mov
By adding this to my init.vim:
lua require('yode-nvim.helper').getIndentCount = function(text) return 0 endIt stops the floating windows applying an indentation correction, but my modifications remain in sync:
Screen.Recording.2022-04-28.at.09.11.39.mov
This works well enough for me for now to take advantage of this awesome plugin, but would appreciate any insight you might have on what could be the original cause of this.
Thank you!