]> git.rmz.io Git - dotfiles.git/commit
vim: don't reset all autocommands on sourcing vimrc
authorSamir Benmendil <me@rmz.io>
Mon, 10 Apr 2023 22:15:18 +0000 (23:15 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:36:18 +0000 (17:36 +0000)
commite314c901f6f92e39a4bbda5de79be77957f10c78
tree9f8fefbbd8a8cde2c59d4a560f6f43782e112280
parent01ba080cdeb7a753c1f7e138e2df4960262ced7e
vim: don't reset all autocommands on sourcing vimrc

I'm pretty sure this was added to make sure to not set autocommands that
weren't reset in groups every time. By now, I hope that all autocommands
are reset within their own groups, or at least will be when I'm through
reviewing the vimrc to use with nvim.

Furthermore, this particular reset was unsetting the autocommands set by
nvim's init.lua and specifically lazy.nvim's plugin loading
autocommands. It lead to much confusion when trying to have both
init.lua and vimrc.
vim/vimrc