1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-01 09:19:26 +00:00

[neovim] Improve yamlls/companion configuration

This commit is contained in:
2023-07-09 18:19:20 +02:00
parent 9a6d586be1
commit 83e533b928
4 changed files with 16 additions and 9 deletions

View File

@ -40,6 +40,7 @@ for _, server in pairs(servers) do
server = vim.split(server, "@")[1]
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
local config_exists, conf_opts = pcall(require, "plugins.lsp.settings." .. server)
if config_exists then
opts = vim.tbl_deep_extend("force", conf_opts, opts)