summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2023-11-26 20:34:04 -0500
committerbscan <10503608+bscan@users.noreply.github.com>2023-11-26 20:34:04 -0500
commita56989a95481e00c6fcb6e85dad15225ceac22b2 (patch)
treeceabb5b3861e394d7f04a028a4082b3c706a4a8c /README.md
parentdb8a9ae218ebd28375983dfd1ab4b20fbd0991e5 (diff)
downloadPerlNavigator-a56989a95481e00c6fcb6e85dad15225ceac22b2.zip
Adding LiteXL instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8c6b00e..69ad86b 100644
--- a/README.md
+++ b/README.md
@@ -199,6 +199,27 @@ For the Kate editor, you'll need to `Configure Kate -> LSP Client` and add a con
}
```
+### LiteXL
+For the LiteXL editor, you need to download the [LSP plugin](https://github.com/lite-xl/lite-xl-lsp/) first.
+Then in your init.lua file, add something similar to the following.
+
+```
+local lsp = require "plugins.lsp"
+
+lsp.add_server {
+ name = "perlnavigator",
+ language = "Perl",
+ file_patterns = { "%.pl$", "%.pm$" },
+ command = { "perlnavigator" },
+ settings = {
+ perlnavigator = {
+ -- The following setting is only needed if you want to set a custom perl path. It already defaults to "perl"
+ perlPath = "perl"
+ }
+ }
+}
+```
+
## Raku / Other Projects
For those interested in a Raku language server, check out: https://github.com/bscan/RakuNavigator