summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSeth Daniel <seth@sethdaniel.org>2022-06-17 21:25:58 -0500
committerSeth Daniel <seth@sethdaniel.org>2022-06-17 21:25:58 -0500
commit9d26a491dddf319b1e61905252bf0be09b1d38ca (patch)
tree195d7ac00c7833dc0332c602f9f10831a4c5d495 /README.md
parent6c2bbea3c8d5d0ec33140b20b0e679721ad2e291 (diff)
downloadPerlNavigator-9d26a491dddf319b1e61905252bf0be09b1d38ca.zip
* add documentation for neovim
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5618caa..42cf965 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,30 @@ Emacs requires lsp-mode. You can use something similar to the following configur
:server-id 'perl-ls))
```
+### Neovim
+Neovim requires [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig). An optional, but highly recommended,
+plugin is [nvim-lsp-installer](https://github.com/williamboman/nvim-lsp-installer) which you can use to automatically
+install Perl Navigator.
+
+The simplest configuration is the following:
+```
+require'lspconfig'.perlnavigator.setup{}
+```
+A configuration with a number of options looks like:
+```
+require'lspconfig'.perlnavigator.setup{
+ settings = {
+ perlnavigator = {
+ perlPath = 'perl',
+ enableWarnings = true,
+ perltidyProfile = '',
+ perlcriticProfile = '',
+ perlcriticEnabled = true,
+ }
+ }
+}
+```
+
## Licenses / Acknowledgments
The Perl Navigator is free software licensed under the MIT License. It has a number of bundled dependencies as well, all of which have their respective open source licenses included.
This work is only possible due to Class::Inspector, Devel::Symdump, Perl::Critic, PPI, Sub::Util, Perl itself, Microsoft LSP libraries, and ideas from Perl::LanguageServer and PLS.