Merge branch 'master' of https://git.freiewildbahn.de/oli/nvim
This commit is contained in:
commit
bc8ef09a51
@ -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'
|
||||
|
@ -1,6 +1,10 @@
|
||||
return {
|
||||
'dgagn/diagflow.nvim',
|
||||
opts = {
|
||||
scope = 'line'
|
||||
}
|
||||
scope = 'line',
|
||||
placement = 'inline',
|
||||
text_align = 'left',
|
||||
inline_padding_left = 5,
|
||||
},
|
||||
enabled = false
|
||||
}
|
||||
|
14
lua/plugins/lsp-virtual-improved.lua
Normal file
14
lua/plugins/lsp-virtual-improved.lua
Normal 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,
|
||||
}
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user