From 435cc09539415c313609dc24d746fb1e30fdc249 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Sat, 23 May 2020 21:34:06 +0100 Subject: [PATCH] added kakoune integration instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 20a55d6e1a..da1f915f99 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ This is *very* early stage software. - [Editor Integration](#editor-integration) - [With emacs](#using-haskell-language-server-with-emacs) - [With doom emacs](#using-haskell-language-server-with-doom-emacs) + - [With Kakoune](#using-haskell-language-server-with-kakoune) - [Contributing](#contributing) - [It's time to join the project!](#its-time-to-join-the-project) @@ -320,6 +321,20 @@ in your `.doom.d/config.el` file then do `$HOME/.emacs.d/bin/doom refresh` + +### Using haskell-language-server with [Kakoune](https://github.com/mawww/kakoune) + +1. Grab a copy of [kak-lsp](https://github.com/ul/kak-lsp), and follow the setup instructions. +2. Point your `kak-lsp.toml` to `haskell-language-server-wrapper`. + +```toml +[language.haskell] +filetypes = ["haskell"] +roots = ["Setup.hs", "stack.yaml", "*.cabal"] +command = "haskell-language-server-wrapper" +args = ["--lsp"] +``` + ## Contributing ### It's time to join the project!