Improved neovim config

This commit is contained in:
2023-08-22 16:51:35 +02:00
parent ce110d730e
commit 3d3380b6b6
9 changed files with 129 additions and 20 deletions

View File

@ -16,15 +16,15 @@ opt.cursorline = true
opt.cursorlineopt = "both"
opt.expandtab = false
opt.grepformat = "%f:%l:%c:%m"
opt.grepprg = "rg --vimgrep"
opt.grepprg = "rg --grep"
opt.ignorecase = false
opt.laststatus = 0
opt.mouse = "a"
opt.ruler = false
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
opt.shiftwidth = 4
opt.shortmess:append "sI"
opt.shortmess:append "sCFI"
opt.showmode = false
opt.showtabline = 0
opt.smartindent = true
opt.softtabstop = 4
opt.spell = false
@ -40,6 +40,8 @@ opt.wrap = false
-- UI
opt.fillchars = { eob = " ", vert = " " }
opt.laststatus = 0
opt.number = true
opt.relativenumber = false
opt.signcolumn = "yes:1"
opt.statusline = "%{repeat('─',winwidth('.'))}"