editorconfig-vim
editorconfig-vim copied to clipboard
Whitespace settings lost in neovim when changing which git commit is checked out
I've been having trouble with this plugin for about a year now. My default on most projects is to use tabs. Our work project uses spaces and has a .editorconfig to reflect this. Though very often when I have (Neo)vim open and meanwhile checkout different commits on the underlying directory, I start typing tabs again instead of spaces. As if this plugin suddenly breaks down or so.
Sorry you're having trouble! Please:
- Update to the latest
let g:EditorConfig_verbose=1- take a look at the resulting report when you open a file.
If the latest still doesn't work, please send us a full report: versions of neovim, OS, windowing system; steps to reproduce; a minimal example if at all possible.
Note that if you are using symlinks you may not get the results you expect (e.g., #123).
Edit Are you checking out older commits that don't have .editorconfig files, or that have different settings?