mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-01 00:24:54 +02:00
don't break for .fish
This commit is contained in:
parent
e5bd25b1f3
commit
4d68c6eb78
2 changed files with 18 additions and 0 deletions
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue