diff options
author | bscan <10503608+bscan@users.noreply.github.com> | 2023-11-26 20:34:04 -0500 |
---|---|---|
committer | bscan <10503608+bscan@users.noreply.github.com> | 2023-11-26 20:34:04 -0500 |
commit | a56989a95481e00c6fcb6e85dad15225ceac22b2 (patch) | |
tree | ceabb5b3861e394d7f04a028a4082b3c706a4a8c /README.md | |
parent | db8a9ae218ebd28375983dfd1ab4b20fbd0991e5 (diff) | |
download | PerlNavigator-a56989a95481e00c6fcb6e85dad15225ceac22b2.zip |
Adding LiteXL instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 |