don't break for .fish

This commit is contained in:
Chris 2021-07-26 14:32:29 -04:00
parent e5bd25b1f3
commit 4d68c6eb78
2 changed files with 18 additions and 0 deletions

View file

@ -287,6 +287,20 @@ lvim.lang = {
}, },
}, },
emmet = { active = false }, emmet = { active = false },
fish = {
formatter = {
exe = "",
args = {},
},
linters = {},
lsp = {
provider = "",
setup = {
on_attach = common_on_attach,
capabilities = common_capabilities,
},
},
},
go = { go = {
formatter = { formatter = {
exe = "gofmt", exe = "gofmt",

View file

@ -337,6 +337,10 @@ function lsp_config.setup(lang)
end end
end end
if provider == "" or provider == nil then
return
end
require("lspconfig")[provider].setup(lang_server.setup) require("lspconfig")[provider].setup(lang_server.setup)
end end