aboutsummaryrefslogtreecommitdiff
path: root/checkers/perl-languageserver.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 00:13:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 00:13:59 +0900
commitfa3e80bb4cccf02eb25e654318b4509ab954f74e (patch)
treeba9652134c49dbefa9b76914c3cf21130c2343b4 /checkers/perl-languageserver.vim
parent4eccf3e86c7399be892d6e25bf253e33fa28a9e5 (diff)
downloadvim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.tar.gz
vim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.tar.bz2
vim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.zip
Add perl-languageserver. But work in progress.
Diffstat (limited to 'checkers/perl-languageserver.vim')
-rw-r--r--checkers/perl-languageserver.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/checkers/perl-languageserver.vim b/checkers/perl-languageserver.vim
new file mode 100644
index 0000000..be76ac2
--- /dev/null
+++ b/checkers/perl-languageserver.vim
@@ -0,0 +1,7 @@
+function! LspCheckCommand() abort
+ call system('perl -e "use Perl::LanguageServer"')
+ if v:shell_error
+ return ''
+ endif
+ return 'perl -MPerl::LanguageServer -e "Perl::LanguageServer->run"'
+endfunction