You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3
Original file line number
Diff line number
Diff line change
@@ -422,6 +422,8 @@ Install from
422
422
[the VSCode marketplace](https://marketplace.visualstudio.com/items?itemName=haskell.haskell), or manually from the repository [vscode-haskell](https://github.com/haskell/vscode-haskell).
423
423
The `haskell-language-server` and `haskell-language-server-wrapper` binaries will be automatically downloaded on an ad-hoc basis, but if you have them already installed on your PATH then it will just use them instead.
424
424
425
+
Configuration is done via the "Haskell" section of "Settings".
426
+
425
427
### Using Haskell Language Server with Sublime Text
426
428
427
429
- Install [LSP](https://packagecontrol.io/packages/LSP) using [Package Control](https://packagecontrol.io/)
@@ -493,7 +495,7 @@ and issuing a `:PlugInstall` command within Neovim or Vim.
493
495
As an alternative to using [vim-plug](https://github.com/junegunn/vim-plug) shown above, clone [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim)
494
496
into `~/.vim/pack/XXX/start/`, where `XXX` is just a name for your "plugin suite".
495
497
496
-
##### Sample `~/.vimrc`
498
+
##### Configuration and sample `~/.vimrc` sections
497
499
498
500
```vim
499
501
set rtp+=~/.vim/pack/XXX/start/LanguageClient-neovim
@@ -534,6 +536,9 @@ it may also be helpful to also specify root markers:
534
536
let g:LanguageClient_rootMarkers = ['*.cabal', 'stack.yaml']
535
537
```
536
538
539
+
Further configuration can be done by pointing the [`g:LanguageClient_settingsPath`](https://github.com/autozimu/LanguageClient-neovim/blob/0e5c9546bfddbaa2b01e5056389c25aefc8bf989/doc/LanguageClient.txt#L221)
540
+
variable to the file in which you want to keep your LSP settings.
541
+
537
542
### Using Haskell Language Server with Atom
538
543
539
544
Install the two Atom packages [atom-ide-ui](https://atom.io/packages/atom-ide-ui) and [haskell](https://atom.io/packages/haskell),
@@ -681,7 +686,7 @@ To do every time you changed code and want to test it:
681
686
682
687
Adding support for new editors is fairly easy if the editor already has good support for generic LSP-based extensions.
683
688
In that case, there will likely be an editor-specific support system for this (like `lsp-mode` for Emacs).
684
-
This will typically include instructions for creating a new language server client.
689
+
This will typically provide instructions for how to support new languages.
685
690
686
-
Additionally, you should expose a way for the user to set the server's [configuration options](#configuring-haskell-language-server), and
691
+
In some cases you may need to write a small bit of additional client support, or expose a way for the user to set the server's [configuration options](#configuring-haskell-language-server) and
0 commit comments