One of the Vim Plugins I use has a bug, causing it to set :syntax spell notoplevel
. The bug is easily mitigated if I run the command :syntax spell toplevel
after opening a file. However, I'm lazy and I'd like to put the fix in my init.vim / .vimrc
file, so that it's run automatically.
How can I ensure that my fix is executed after the buggy plugin code, so that my setting is not overridden by the plugin?