diff options
| author | Github Actions <actions@github> | 2019-11-17 19:07:31 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2019-11-17 19:07:31 +0000 |
| commit | b2ccdc1ecf5a3bf8643164e22338c108be2bd794 (patch) | |
| tree | fed8dec23b2292b1a2d465a667c8bd97b16b28d6 | |
| parent | Add support for haskell-ide-engine (#21) (diff) | |
| download | nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar.gz nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar.bz2 nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar.lz nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar.xz nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.tar.zst nvim-lspconfig-b2ccdc1ecf5a3bf8643164e22338c108be2bd794.zip | |
[docgen] Update README.md
skip-checks: true
| -rw-r--r-- | README.md | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -38,6 +38,7 @@ Implemented language servers: - [elmls](https://github.com/neovim/nvim-lsp#elmls) - [flow](https://github.com/neovim/nvim-lsp#flow) - [gopls](https://github.com/neovim/nvim-lsp#gopls) +- [hie](https://github.com/neovim/nvim-lsp#hie) - [pyls](https://github.com/neovim/nvim-lsp#pyls) - [rls](https://github.com/neovim/nvim-lsp#rls) - [texlab](https://github.com/neovim/nvim-lsp#texlab) @@ -321,6 +322,38 @@ nvim_lsp#setup("gopls", {config}) settings = {} ``` +## hie + +https://github.com/haskell/haskell-ide-engine + +the following init_options are supported (see https://github.com/haskell/haskell-ide-engine#configuration): +```lua +init_options = { + languageServerHaskell = { + hlintOn = bool; + maxNumberOfProblems = number; + diagnosticsDebounceDuration = number; + liquidOn = bool (default false); + completionSnippetsOn = bool (default true); + formatOnImportOn = bool (default true); + formattingProvider = string (default "brittany", alternate "floskell"); + } +} +``` + + +```lua +nvim_lsp.hie.setup({config}) +nvim_lsp#setup("hie", {config}) + + Default Values: + cmd = { "hie-wrapper" } + filetypes = { "haskell" } + log_level = 2 + root_dir = root_pattern("stack.yaml", "package.yaml", ".git") + settings = {} +``` + ## pyls https://github.com/palantir/python-language-server |
