From 2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 8 Mar 2024 01:17:01 -0700 Subject: More rice'ing. --- lua/lsp.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua') 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 -- cgit