mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim: set diagnostic mode when sourced
This commit is contained in:
parent
3abe56c706
commit
d506f2b8ca
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ do
|
|||
{ virtual_text = false, virtual_lines = false },
|
||||
{ virtual_text = true, virtual_lines = false },
|
||||
}
|
||||
vim.diagnostic.config(modes[index])
|
||||
|
||||
---@param direction 'forward' | 'backward'
|
||||
local function cycle_diagnostic_modes(direction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue