add marksman and diagnostics float

This commit is contained in:
DanRoscigno 2023-06-06 13:19:46 -04:00
parent 5e4d24cb2f
commit e4e2c23eab
1 changed files with 28 additions and 1 deletions

View File

@ -430,7 +430,9 @@ local servers = {
-- pyright = {},
-- rust_analyzer = {},
-- tsserver = {},
--'marksman',
--'clangd',
marksman = {},
lua_ls = {
Lua = {
workspace = { checkThirdParty = false },
@ -511,5 +513,30 @@ cmp.setup {
},
}
-- Confgiure the way that diagnostics look
local diagconfig = {
-- disable virtual text
virtual_text = false,
-- show signs
signs = true,
update_in_insert = true,
underline = true,
severity_sort = true,
float = {
focusable = false,
style = "minimal",
border = "rounded",
source = "always",
header = "",
--prefix = "",
},
}
-- vim.opt.termguicolors = true
-- require("bufferline").setup{}
vim.diagnostic.config(diagconfig)
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et