1
0
Fork 0

nvim config updates

This commit is contained in:
Arthur K. 2026-01-30 15:47:24 +03:00
parent 559939e2f4
commit adc494721a
Signed by: wzray
GPG key ID: B97F30FDC4636357
20 changed files with 1108 additions and 30 deletions

View file

@ -35,4 +35,28 @@ vim.o.timeoutlen = 300
vim.o.splitbelow = true
vim.o.splitright = true
vim.diagnostic.config({ virtual_text = true })
vim.diagnostic.config({
virtual_text = true,
signs = true,
virtual_lines = false,
update_in_insert = true,
float = {
source = 'if_many',
format = function(d)
return ("[%d:%d] %s"):format(
d.lnum + 1,
d.end_col + 1,
d.message
)
end,
}
})
-- fold related stuff
vim.o.foldcolumn = '0'
vim.o.foldlevel = 99
vim.o.foldlevelstart = 99
vim.o.foldenable = true
-- spelling
vim.o.spelllang = 'en,ru'