mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +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 },
|
||||
fish = {
|
||||
formatter = {
|
||||
exe = "",
|
||||
args = {},
|
||||
},
|
||||
linters = {},
|
||||
lsp = {
|
||||
provider = "",
|
||||
setup = {
|
||||
on_attach = common_on_attach,
|
||||
capabilities = common_capabilities,
|
||||
},
|
||||
},
|
||||
},
|
||||
go = {
|
||||
formatter = {
|
||||
exe = "gofmt",
|
||||
|
|
|
@ -337,6 +337,10 @@ function lsp_config.setup(lang)
|
|||
end
|
||||
end
|
||||
|
||||
if provider == "" or provider == nil then
|
||||
return
|
||||
end
|
||||
|
||||
require("lspconfig")[provider].setup(lang_server.setup)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue