Skip to content

Commit de64738

Browse files
mrcjkbMarc Jakobi
authored andcommitted
feat!: use vim.lsp.config('haskell-tools') to fix conflict with nvim-lspconfig (#466)
1 parent fda0e50 commit de64738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/haskell-tools/lsp/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Hls.start = function(bufnr)
171171
fix_cabal_client(client)
172172
end,
173173
}
174-
local client_config = vim.tbl_deep_extend('force', {}, lsp_start_opts, vim.lsp.config['hls'] or {})
174+
local client_config = vim.tbl_deep_extend('force', {}, lsp_start_opts, vim.lsp.config['haskell-tools'] or {})
175175
local client_id = vim.lsp.start(client_config)
176176
return client_id
177177
end

0 commit comments

Comments
 (0)