Revert "nvim: after/ftplugin/cabal: Enable HLS on cabal files"
This reverts commit 34a5bbdacb
.
HLS complains a lot (forgot the error) when trying to edit cabal files
making it almost unusable. It was nice to not require a separate plugin
for formatting cabal files, but, since this is not usable, disable it.
This commit is contained in:
parent
6329816b42
commit
5bba0b1789
2 changed files with 1 additions and 10 deletions
|
@ -1,4 +0,0 @@
|
|||
local lsp_utils = require('lsp-utils')
|
||||
local hls_config = lsp_utils.hls_config()
|
||||
|
||||
vim.lsp.start(hls_config)
|
|
@ -177,12 +177,7 @@ function M.hls_config()
|
|||
root_dir = root_directory,
|
||||
filetypes = { 'haskell' },
|
||||
single_file_support = true,
|
||||
settings = {
|
||||
haskell = {
|
||||
formattingProvider = 'ormolu' ,
|
||||
cabalFormattingProvider = 'cabalfmt',
|
||||
}
|
||||
},
|
||||
settings = { haskell = { formattingProvider = 'ormolu' } },
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue