diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-03-08 01:17:01 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-03-08 01:17:01 -0700 |
commit | 2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2 (patch) | |
tree | 066009e5db1ae68eb9f4ef53650ee0e39e73d122 /lua/lsp.lua | |
parent | e6a242ab7ec54b260ed02993eb8e22a7ee7aa0da (diff) | |
download | config.vim-2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2.tar.gz config.vim-2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2.tar.bz2 config.vim-2bfb6c49cccf097a76e302c3f924b6b1ab7c07c2.zip |
More rice'ing.
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 |