mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 08:27:36 +00:00
Update to avoid using go.nvim if nvim is too old
This commit is contained in:
parent
54da69cd40
commit
63e7047b63
@ -567,6 +567,11 @@ return {
|
||||
event = { "CmdlineEnter" },
|
||||
ft = { "go", "gomod" },
|
||||
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
||||
version = utils.map_version_rule({
|
||||
[">=0.10.0"] = utils.nil_val,
|
||||
["<0.10.0"] = "v0.9.0",
|
||||
}),
|
||||
enabled = vim.fn.has("nvim-0.9") == 1,
|
||||
},
|
||||
{
|
||||
"https://github.com/sheerun/vim-polyglot",
|
||||
|
Loading…
Reference in New Issue
Block a user