diff options
Diffstat (limited to 'lua/lspconfig/powershell_es.lua')
| -rw-r--r-- | lua/lspconfig/powershell_es.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/lspconfig/powershell_es.lua b/lua/lspconfig/powershell_es.lua index 528b8cf3..e2fd86ef 100644 --- a/lua/lspconfig/powershell_es.lua +++ b/lua/lspconfig/powershell_es.lua @@ -20,9 +20,8 @@ configs[server_name] = { new_config.cmd = make_cmd(bundle_path) end, filetypes = { 'ps1' }, - root_dir = function(fname) - return util.find_git_ancestor(fname) or vim.fn.getcwd() - end, + root_dir = util.find_git_ancestor, + single_file_mode = true, }, docs = { description = [[ |
