aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/perlls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/perlls.lua')
-rw-r--r--lua/lspconfig/perlls.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lspconfig/perlls.lua b/lua/lspconfig/perlls.lua
index 31f8cd05..98994273 100644
--- a/lua/lspconfig/perlls.lua
+++ b/lua/lspconfig/perlls.lua
@@ -17,7 +17,8 @@ configs.perlls = {
};
filetypes = {"perl"};
root_dir = function(fname)
- return util.root_pattern(".git")(fname) or vim.loop.os_homedir()
+ --return util.root_pattern(".git")(fname) or vim.loop.os_homedir()
+ return util.root_pattern(".git")(fname) or vim.fn.getcwd()
end;
};
docs = {
@@ -27,7 +28,7 @@ configs.perlls = {
`Perl-LanguageServer`, a language server for Perl.
- To make this work, ensure that you have Perl::LanguageServer installed and the perl command in your $PATH
+ To make this work, ensure that you have Perl::LanguageServer installed and perl command is on your path.
]];
default_config = {
root_dir = "vim's starting directory";