`b:undo_ftplugin` should not reset indentation settings
kyllingstad opened this issue · 4 comments
The b:undo_ftplugin
variable defined in ftplugin/julia.vim
resets indentation options like indentexpr
. It shouldn't, because that script does not set those options, and therefore its undo action should not reset them.
These options should only be reset by the actions of b:undo_indent
defined in indent/julia.vim
(and they correctly are).
I edited the description of this issue because it turned out that much of what I described was specific to my particular .vimrc
setup. But the main issue still stands, I think.
It looks like this was added to b:undo_ftplugin
in 7b71f09 before the author was probably aware of b:undo_indent
.
Fixed in e36d07f
(sorry about the wrong issue ref in the commit message, a cut&paste went wrong)
Thanks for reporting this
@carlobaldassi can you send an update to Vim so we can fix vim/vim#14419 there as well?