mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-09 15:05:30 +00:00
languages/haskell: remove invalid vim.g options
Haskell is not configured with lspconfig, but rather
with haskell-tools.nvim. This commit fixes "conversion"
made in 39efdc799.
Without this, users are met with nvim errors about invalid
vim.g options
This commit is contained in:
parent
3e48f13c3c
commit
d0376bf8ca
1 changed files with 0 additions and 13 deletions
|
|
@ -21,9 +21,7 @@
|
||||||
defaultServers = ["hls"];
|
defaultServers = ["hls"];
|
||||||
servers = {
|
servers = {
|
||||||
hls = {
|
hls = {
|
||||||
enable = false;
|
|
||||||
cmd = [(getExe' pkgs.haskellPackages.haskell-language-server "haskell-language-server-wrapper") "--lsp"];
|
cmd = [(getExe' pkgs.haskellPackages.haskell-language-server "haskell-language-server-wrapper") "--lsp"];
|
||||||
filetypes = ["haskell" "lhaskell"];
|
|
||||||
on_attach =
|
on_attach =
|
||||||
mkLuaInline
|
mkLuaInline
|
||||||
/*
|
/*
|
||||||
|
|
@ -43,17 +41,6 @@
|
||||||
vim.keymap.set('n', '<localleader>rq', ht.repl.quit, opts)
|
vim.keymap.set('n', '<localleader>rq', ht.repl.quit, opts)
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
root_dir =
|
|
||||||
mkLuaInline
|
|
||||||
/*
|
|
||||||
lua
|
|
||||||
*/
|
|
||||||
''
|
|
||||||
function(bufnr, on_dir)
|
|
||||||
local fname = vim.api.nvim_buf_get_name(bufnr)
|
|
||||||
on_dir(util.root_pattern('hie.yaml', 'stack.yaml', 'cabal.project', '*.cabal', 'package.yaml')(fname))
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
settings = {
|
settings = {
|
||||||
haskell = {
|
haskell = {
|
||||||
formattingProvider = "ormolu";
|
formattingProvider = "ormolu";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue