aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhishek Cherath <abhicherath@gmail.com>2020-12-24 10:52:40 -0500
committerAbhishek Cherath <abhicherath@gmail.com>2020-12-24 10:52:40 -0500
commit88fa32e7d47b695d95255134fca35fedce60e916 (patch)
tree5e21e2165eabe531e95c955b2caef0e18311e6a7
parentMerge branch 'master' of https://github.com/pretentious7/nvim-lspconfig (diff)
downloadnvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar.gz
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar.bz2
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar.lz
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar.xz
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.tar.zst
nvim-lspconfig-88fa32e7d47b695d95255134fca35fedce60e916.zip
updated perlls
-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";