Modify some native vim options and update lockfile for added plugins

This commit is contained in:
Martin Lasson 2025-04-15 23:33:10 +02:00
parent 45372585f8
commit 38ba2960b4
2 changed files with 25 additions and 3 deletions

View file

@ -8,12 +8,14 @@ opt.clipboard = "unnamedplus"
-- Highlight the currently selected row
opt.cursorline = true
opt.cursorlineopt = "both"
opt.cursorlineopt = "number"
-- Indenting
opt.expandtab = true
opt.smartindent = true
opt.cindent = true
-- opt.smartindent = true
opt.breakindent = true
opt.breakindentopt = "list:-1"
opt.shiftwidth = 4
opt.tabstop = 4
opt.softtabstop = 4
@ -75,4 +77,22 @@ opt.sessionoptions = { "buffers", "curdir", "winsize", "winpos", "skiprtp" }
-- See comment in lspsetup autocmd for LspAttach
-- opt.completeopt = "menu,menuone,noselect,fuzzy"
opt.fileignorecase = true
-- This always keeps the windows equal in size
opt.equalalways = true
opt.linebreak = true
opt.ruler = false
opt.shiftround = true
-- Faster draw
opt.redrawtime = 150
-- Disable lots of unnecessary warning notifications
opt.shortmess = "acstFOSW"
-- Allows to select one more after EOL
opt.virtualedit = "onemore"
return opt