Skip to content

Commit 254fe22

Browse files
authored
Merge pull request #125 from 414owen/master
Added kakoune integration instructions
2 parents 4067326 + 435cc09 commit 254fe22

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This is *very* early stage software.
2828
- [Editor Integration](#editor-integration)
2929
- [With emacs](#using-haskell-language-server-with-emacs)
3030
- [With doom emacs](#using-haskell-language-server-with-doom-emacs)
31+
- [With Kakoune](#using-haskell-language-server-with-kakoune)
3132
- [Contributing](#contributing)
3233
- [It's time to join the project!](#its-time-to-join-the-project)
3334

@@ -320,6 +321,20 @@ in your `.doom.d/config.el` file
320321

321322
then do `$HOME/.emacs.d/bin/doom refresh`
322323

324+
325+
### Using haskell-language-server with [Kakoune](https://github.com/mawww/kakoune)
326+
327+
1. Grab a copy of [kak-lsp](https://github.com/ul/kak-lsp), and follow the setup instructions.
328+
2. Point your `kak-lsp.toml` to `haskell-language-server-wrapper`.
329+
330+
```toml
331+
[language.haskell]
332+
filetypes = ["haskell"]
333+
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
334+
command = "haskell-language-server-wrapper"
335+
args = ["--lsp"]
336+
```
337+
323338
## Contributing
324339

325340
### It's time to join the project!

0 commit comments

Comments
 (0)