diff options
Diffstat (limited to 'lua/lsp.lua')
-rw-r--r-- | lua/lsp.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/lsp.lua b/lua/lsp.lua index d66e5ab..4be6287 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -8,6 +8,8 @@ nvim_lsp.clangd.setup {} nvim_lsp.bashls.setup {} nvim_lsp.rust_analyzer.setup {} nvim_lsp.vimls.setup {} +nvim_lsp.zls.setup {} +nvim_lsp.ocamllsp.setup {} nvim_lsp.hls.setup { settings = { haskell = { @@ -226,4 +228,10 @@ end vim.cmd[[hi DiagnosticUnderlineError gui=undercurl guisp=salmon]] vim.cmd[[hi DiagnosticUnderlineWarn gui=undercurl guisp=gold]] +local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } +for type, icon in pairs(signs) do + local hl = "DiagnosticSign" .. type + vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) +end + return M |