~xerool/fennel-ls

fennel-ls: instructions for setting up sublime text v1 APPLIED

Sublime LSP's documentation doesn't make adding "unwrapped" LSPs
entirely obvious, but it works very well. Since it's not obvious, I
think it would be useful to have documented.

Matthew Lyon (1):
  Add instructions for configuring Sublime Text

 docs/manual.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

-- 
2.45.2
#1348063 .build.yml success
fennel-ls/patches/.build.yml: SUCCESS in 32s

[instructions for setting up sublime text][0] from [~mattly][1]

[0]: https://lists.sr.ht/~xerool/fennel-ls/patches/55411
[1]: mailto:matthew@lyonheart.us

✓ #1348063 SUCCESS fennel-ls/patches/.build.yml https://builds.sr.ht/~xerool/job/1348063
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~xerool/fennel-ls/patches/55411/mbox | git am -3
Learn more about email & git

[PATCH fennel-ls 1/1] Add instructions for configuring Sublime Text Export this patch

From: Matthew Lyon <matthew@lyonheart.us>

---
 docs/manual.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/manual.md b/docs/manual.md
index ecee8aa..759fc03 100644
--- a/docs/manual.md
+++ b/docs/manual.md
@@ -50,6 +50,24 @@ require("mason-lspconfig").setup {
}
```

### Sublime Text
prerequisites: You have installed the [fennel-ls binary](#fennel-ls-language-server-binary) and the [LSP Sublime Text package](https://packagecontrol.io/packages/LSP) from Package Control.

You can configure the LSP plugin to use fennel-ls directly by editing your `Packages/User/LSP.sublime-settings` file, which can be opened via "Preferences > Package Settings > LSP > Settings" from the menu or with the Preferences: LSP Settings command from the Command Palette. 

You should add an entry to the top-level `"clients"` object (creating it if it doesn't exist), with this configuration:
```json
"clients": {
    "fennel-ls": {
        "enabled": true,
        "selector": "source.fennel",
        "command": ["fennel-ls"]
    }
}
```

If you run into problems, check the [LSP Client Configuration reference](https://lsp.sublimetext.io/client_configuration/) and double-check the location of fennel-ls on the $PATH is visible to Sublime Text.

### Other editors
It should be possible to set up for other text editors, but the instructions
depend on which editor you use. Generally you need to tell your editor:
-- 
2.45.2
fennel-ls/patches/.build.yml: SUCCESS in 32s

[instructions for setting up sublime text][0] from [~mattly][1]

[0]: https://lists.sr.ht/~xerool/fennel-ls/patches/55411
[1]: mailto:matthew@lyonheart.us

✓ #1348063 SUCCESS fennel-ls/patches/.build.yml https://builds.sr.ht/~xerool/job/1348063