diff options
| author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-01-11 11:10:48 +0100 |
|---|---|---|
| committer | Matthieu Coudron <mcoudron@hotmail.com> | 2022-01-11 11:10:48 +0100 |
| commit | ec015bdb320c7ece6e9c610eb32e77e7db68cae2 (patch) | |
| tree | d65829810054b004344a9f318d9da5c09efc0264 | |
| parent | fix: try_add_wrapper errors if passed nil for bufnr (#1648) (diff) | |
| download | nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar.gz nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar.bz2 nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar.lz nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar.xz nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.tar.zst nvim-lspconfig-ec015bdb320c7ece6e9c610eb32e77e7db68cae2.zip | |
feat(hls): enable single-file support
seems to work here
| -rw-r--r-- | lua/lspconfig/server_configurations/hls.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/hls.lua b/lua/lspconfig/server_configurations/hls.lua index a074293f..32b3ea22 100644 --- a/lua/lspconfig/server_configurations/hls.lua +++ b/lua/lspconfig/server_configurations/hls.lua @@ -5,6 +5,7 @@ return { cmd = { 'haskell-language-server-wrapper', '--lsp' }, filetypes = { 'haskell', 'lhaskell' }, root_dir = util.root_pattern('*.cabal', 'stack.yaml', 'cabal.project', 'package.yaml', 'hie.yaml'), + single_file_support = true, settings = { haskell = { formattingProvider = 'ormolu', |
