1
0
mirror of https://gitlab.com/baco/dotconf.git synced 2024-06-14 04:06:37 +00:00

feat: Override LSP server settings with workspace settings

This commit is contained in:
Dionisio E Alonso 2022-05-10 22:41:18 -03:00
parent 18d4f87652
commit bfbf40be41

View File

@ -2,4 +2,9 @@ local settings = {}
settings.pylsp = require("python_lsp_server_settings")
local workspace_settings_file = vim.fn.findfile(".nvim/lsp-server-settings.lua", ".;")
if workspace_settings_file ~= "" then
settings = dofile(workspace_settings_file)
end
return settings