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:
parent
18d4f87652
commit
bfbf40be41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user