From 4f1a10ce167af129b5712c42c6599011c0dab278 Mon Sep 17 00:00:00 2001 From: Enno Date: Tue, 16 Dec 2025 15:56:23 +0100 Subject: [PATCH] Add Vim configuration for perlnavigator Added configuration instructions for using perlnavigator with Vim. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 805d02c..b15b329 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,21 @@ If you need to configure can use something similar to the following configuratio :custom (lsp-perlnavigator-executable (expand-file-name "~/path/to/perlnavigator)) ...) ``` +### Vim + +Using [lsp](https://github.com/yegappan/lsp/), add to your `vimrc` the lines + +```vim +let perlnavigator = + \ #{name: 'perlnavigator', + \ filetype: 'perl', + \ path: 'perlnavigator', + \ args: ['--stdio'], +} +let lspServers = [] +call add(lspServers, perlnavigator) +autocmd VimEnter * call LspAddServer(lspServers) +``` ### Neovim Neovim requires [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig). An optional, but highly recommended,