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.
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:
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
https://user-images.githubusercontent.com/3708645/165697583-195ea927-c761-46ff-9b35-737d861184a8.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:https://user-images.githubusercontent.com/3708645/165698083-26f39380-5866-454a-a8ec-73a10c3125f6.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!