|
@@ -25,6 +25,7 @@ if not require("lv-utils").check_lsp_client_active "efm" then
|
|
-- init_options = {initializationOptions},
|
|
-- init_options = {initializationOptions},
|
|
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
|
|
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
|
|
init_options = { documentFormatting = true, codeAction = false },
|
|
init_options = { documentFormatting = true, codeAction = false },
|
|
|
|
+ root_dir = require("lspconfig").util.root_pattern(".git/", "requirements.txt"),
|
|
filetypes = { "python" },
|
|
filetypes = { "python" },
|
|
settings = {
|
|
settings = {
|
|
rootMarkers = { ".git/", "requirements.txt" },
|
|
rootMarkers = { ".git/", "requirements.txt" },
|