Only install goimports if go is available
This commit is contained in:
parent
8026ec51d9
commit
ffeb4d6f45
|
@ -17,7 +17,12 @@ local ensure_installed = {
|
|||
"neocmake",
|
||||
-- Formatter
|
||||
"clang-format",
|
||||
"goimports",
|
||||
{
|
||||
"goimports",
|
||||
condition = function()
|
||||
return vim.fn.executable("go") > 0
|
||||
end,
|
||||
},
|
||||
"ruff",
|
||||
"prettierd",
|
||||
"stylua",
|
||||
|
|
Loading…
Reference in New Issue
Block a user