This commit is contained in:
Oliver Hartmann 2023-08-29 13:35:55 +02:00
commit bc8ef09a51
4 changed files with 24 additions and 5 deletions

View File

@ -46,7 +46,8 @@ if vim.fn.has('wsl') == 1 then
},
cache_enabled = 0,
}
opt.guifont = 'Hack Nerd Font Mono:h10'
-- opt.guifont = 'Hack Nerd Font Mono:h10'
opt.guifont = 'RobotoMono Nerd Font:h10'
elseif vim.loop.os_uname().sysname == 'Linux' then
opt.guifont = 'JetBrainsMono Nerd Font Mono:h7'

View File

@ -1,6 +1,10 @@
return {
'dgagn/diagflow.nvim',
opts = {
scope = 'line'
}
scope = 'line',
placement = 'inline',
text_align = 'left',
inline_padding_left = 5,
},
enabled = false
}

View File

@ -0,0 +1,14 @@
return {
'luozhiya/lsp-virtual-improved.nvim',
event = { 'LspAttach' },
config = function()
require('lsp-virtual-improved').setup()
local diagnostics = {
virtual_text = false, -- Disable builtin virtual text diagnostic.
virtual_improved = {
current_line = 'only',
},
}
vim.diagnostic.config(diagnostics)
end,
}

View File

@ -326,8 +326,8 @@ return {
capabilities = capabilities,
})
-- vim.diagnostic.config({ virtual_text = false })
vim.diagnostic.config({ virtual_text = false, virtual_lines = false })
vim.diagnostic.config({ virtual_text = true})
-- vim.diagnostic.config({ virtual_text = false, virtual_lines = false })
-- vim.diagnostic.config({ virtual_text = false, virtual_lines = { only_current_line = true } })
end,
event = 'VeryLazy'