diff options
Diffstat (limited to 'lua/lspconfig/perlpls.lua')
| -rw-r--r-- | lua/lspconfig/perlpls.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/lspconfig/perlpls.lua b/lua/lspconfig/perlpls.lua index af0b51e4..81ea7ad6 100644 --- a/lua/lspconfig/perlpls.lua +++ b/lua/lspconfig/perlpls.lua @@ -10,9 +10,8 @@ configs.perlpls = { }, }, filetypes = { 'perl' }, - root_dir = function(fname) - return util.root_pattern '.git'(fname) or util.path.dirname(fname) - end, + root_dir = util.root_pattern '.git', + single_file_support = true, }, docs = { package_json = 'https://raw.githubusercontent.com/FractalBoy/perl-language-server/master/client/package.json', |
