Closed alkim0 closed 2 years ago
This seems to be a fundamental issue with vim setting encodings: https://github.com/vim/vim/issues/10876
It seems this behavior is intended and setting "encoding" should be avoided after startup if possible.
This should be fixed with the merge of #186 --- please reopen if that is not the case! Thanks!
Setup
Here's the setup for my minimal reproducible example.
In my
.vimrc
, I have (using vim-plug as my plugin manager):In my
.editorconfig
, I have:Then I have two text files in the same directory as the
.editorconfig
. Here isapple.txt
:Then
pear.txt
:Steps
vim apple.txt
(The text inapple.txt
is highlighted correctly as expected)vsplit pear.txt
(The text inpear.txt
is highlighted, but the text inapple.txt
is no longer highlighted). When you try to switch back toapple.txt
and pressz=
, it saysSpell checking is not possible
).