Merge pull request #1 from DanRoscigno/add-marksman
add marksman and diagnostics float
This commit is contained in:
commit
e090db63c1
29
init.lua
29
init.lua
|
@ -430,7 +430,9 @@ local servers = {
|
||||||
-- pyright = {},
|
-- pyright = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
|
--'marksman',
|
||||||
|
--'clangd',
|
||||||
|
marksman = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
Lua = {
|
Lua = {
|
||||||
workspace = { checkThirdParty = false },
|
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`
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||||
-- vim: ts=2 sts=2 sw=2 et
|
-- vim: ts=2 sts=2 sw=2 et
|
||||||
|
|
Loading…
Reference in New Issue