mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2025-01-07 09:37:34 +00:00
Readability improvement
This commit is contained in:
parent
8e5aa3158b
commit
5ed31c83b0
@ -122,11 +122,7 @@ function M.config_lsp()
|
||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||
end
|
||||
|
||||
if utils.is_plugin_loaded("null-ls.nvim") then
|
||||
M.config_null_ls()
|
||||
lsp_config["null-ls"].setup{ capabilities=capabilities, on_attach=default_attach }
|
||||
end
|
||||
|
||||
-- Configure each server
|
||||
lsp_config.bashls.setup{ capabilities=capabilities, on_attach=default_attach }
|
||||
lsp_config.gopls.setup{ capabilities=capabilities, on_attach=default_attach }
|
||||
lsp_config.pyright.setup{ capabilities=capabilities, on_attach=default_attach }
|
||||
@ -141,6 +137,10 @@ function M.config_lsp()
|
||||
},
|
||||
},
|
||||
}
|
||||
if utils.is_plugin_loaded("null-ls.nvim") then
|
||||
M.config_null_ls()
|
||||
lsp_config["null-ls"].setup{ capabilities=capabilities, on_attach=default_attach }
|
||||
end
|
||||
end
|
||||
|
||||
function M.config_lsp_saga()
|
||||
|
Loading…
Reference in New Issue
Block a user