nvim: lsp-utils: Enable HLS for cabal files
This commit is contained in:
parent
0f8e52bae1
commit
97bdd3d9e1
1 changed files with 7 additions and 6 deletions
|
@ -187,12 +187,13 @@ function M.hls_config()
|
|||
cmd = { 'haskell-language-server-wrapper', '--lsp' },
|
||||
capabilities = default_capabilities,
|
||||
root_dir = root_directory,
|
||||
filetypes = { 'haskell' },
|
||||
filetypes = { 'cabal', 'haskell' },
|
||||
single_file_support = true,
|
||||
settings = {
|
||||
haskell = {
|
||||
checkParents = 'CheckOnSave',
|
||||
checkProject = false,
|
||||
cabalFormattingProvider = 'cabalfmt',
|
||||
formattingProvider = 'ormolu',
|
||||
maxCompletions = 20,
|
||||
plugin = { stan = { globalOn = false } }
|
||||
|
|
Loading…
Reference in a new issue