Skip to content

Indentation De-syncs #11

Description

@Zebadee2323

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.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions