diff options
| author | Pasi Bergman <[email protected]> | 2021-07-13 00:03:20 +0300 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-12 17:03:20 -0400 | 
| commit | ab103baf51273c994b7f219e96646a9222d6c7e6 (patch) | |
| tree | 49fa29bcc70761c4e14ae6e9e91a7bd98437dda6 /lua/lsp | |
| parent | abdf383aa93b70416db33025d93ed64ad1adea3c (diff) | |
Set root_dir for efm-langserver configurations (#899)
Diffstat (limited to 'lua/lsp')
| -rw-r--r-- | lua/lsp/ts-fmt-lint.lua | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lua/lsp/ts-fmt-lint.lua b/lua/lsp/ts-fmt-lint.lua index f6b37136..a73b817e 100644 --- a/lua/lsp/ts-fmt-lint.lua +++ b/lua/lsp/ts-fmt-lint.lua @@ -21,6 +21,7 @@ M.setup = function()      -- init_options = {initializationOptions},      cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },      init_options = { documentFormatting = true, codeAction = false }, +    root_dir = require("lspconfig").util.root_pattern(".git/", "package.json"),      filetypes = {        "vue",        "javascript", | 
