nvim config updates
This commit is contained in:
parent
559939e2f4
commit
adc494721a
20 changed files with 1108 additions and 30 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue