diff options
| author | Abhishek Cherath <abhicherath@gmail.com> | 2020-12-24 10:52:40 -0500 |
|---|---|---|
| committer | Abhishek Cherath <abhicherath@gmail.com> | 2020-12-24 10:52:40 -0500 |
| commit | 88fa32e7d47b695d95255134fca35fedce60e916 (patch) | |
| tree | 5e21e2165eabe531e95c955b2caef0e18311e6a7 | |
| parent | Merge branch 'master' of https://github.com/pretentious7/nvim-lspconfig (diff) | |
| download | nvim-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.lua | 5 |
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"; |
