mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-19 10:15:01 +02:00
Set root_dir for efm-langserver configurations (#899)
This commit is contained in:
parent
abdf383aa9
commit
ab103baf51
4 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ if not require("lv-utils").check_lsp_client_active "efm" then
|
|||
-- init_options = {initializationOptions},
|
||||
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
|
||||
init_options = { documentFormatting = true, codeAction = false },
|
||||
root_dir = require("lspconfig").util.root_pattern(".git/", "requirements.txt"),
|
||||
filetypes = { "python" },
|
||||
settings = {
|
||||
rootMarkers = { ".git/", "requirements.txt" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue