Skip to content

Commit

Permalink
Adding LiteXL instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bscan committed Nov 27, 2023
1 parent db8a9ae commit a56989a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a56989a

Please sign in to comment.