on master help sign in
Add Kakoune section to the README (#592)

* Add kakoune installation instructions * Add additional files to roots field

commit95faeebfba6d9b7a5b91f20a98fa0c423a353048 authorAodhnait Étaín <aodhneine@protonmail.ch> dateTue 2 Jun 2020, 08:00 (6 years ago) parent0c9a096
1 file changed+14
README.md+14
README.md+14
@@ -266,6 +266,20 @@ Add this to your coc-settings.json (which you can edit with :CocConfig):
266266This example above describes a setup in which `ghcide` is installed
267267using `stack install ghcide` within a project.
268268
269+### Using with Kakoune
270+
271+Install [kak-lsp](https://github.com/ul/kak-lsp).
272+
273+Change `kak-lsp.toml` to include this:
274+
275+```toml
276+[language.haskell]
277+filetypes = ["haskell"]
278+roots = ["Setup.hs", "stack.yaml", "*.cabal", "cabal.project", "hie.yaml"]
279+command = "ghcide"
280+args = ["--lsp"]
281+```
282+
269283## Hacking on ghcide
270284
271285To build and work on `ghcide` itself, you can use Stack or cabal, e.g.,