feat: added checks for Neovim version

This commit is contained in:
Folke Lemaitre 2022-12-14 21:25:11 +01:00
parent 675dece832
commit 72f64ce1f7
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 11 additions and 2 deletions

View file

@ -113,6 +113,9 @@ function M.setup(spec, opts)
}
end
-- disable plugin loading since we do all of that ourselves
vim.go.loadplugins = false
vim.api.nvim_create_autocmd("User", {
pattern = "VeryLazy",
once = true,