nvim: lsp-utils: Update Haskell LSP settings
checkProject if set to true, type checks the entire project on initial load. If activated by default which it is, can lead to bad performance in large projects.
This commit is contained in:
parent
75670080c0
commit
d974be35c2
1 changed files with 9 additions and 1 deletions
|
@ -189,7 +189,15 @@ function M.hls_config()
|
|||
root_dir = root_directory,
|
||||
filetypes = { 'haskell' },
|
||||
single_file_support = true,
|
||||
settings = { haskell = { formattingProvider = 'ormolu' } },
|
||||
settings = {
|
||||
haskell = {
|
||||
checkParents = 'CheckOnSave',
|
||||
checkProject = false,
|
||||
formattingProvider = 'ormolu',
|
||||
maxCompletions = 20,
|
||||
plugin = { stan = { globalOn = false } }
|
||||
}
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue