mirror of
https://github.com/haskell/ghcide.git
synced 2024-09-11 13:57:06 +03:00
Add Kakoune section to the README (#592)
* Add kakoune installation instructions * Add additional files to roots field
This commit is contained in:
parent
0c9a0961ab
commit
95faeebfba
14
README.md
14
README.md
@ -266,6 +266,20 @@ Add this to your coc-settings.json (which you can edit with :CocConfig):
|
||||
This example above describes a setup in which `ghcide` is installed
|
||||
using `stack install ghcide` within a project.
|
||||
|
||||
### Using with Kakoune
|
||||
|
||||
Install [kak-lsp](https://github.com/ul/kak-lsp).
|
||||
|
||||
Change `kak-lsp.toml` to include this:
|
||||
|
||||
```toml
|
||||
[language.haskell]
|
||||
filetypes = ["haskell"]
|
||||
roots = ["Setup.hs", "stack.yaml", "*.cabal", "cabal.project", "hie.yaml"]
|
||||
command = "ghcide"
|
||||
args = ["--lsp"]
|
||||
```
|
||||
|
||||
## Hacking on ghcide
|
||||
|
||||
To build and work on `ghcide` itself, you can use Stack or cabal, e.g.,
|
||||
|
Loading…
Reference in New Issue
Block a user