add more nvim configs and plugins
This commit is contained in:
parent
25019ba10b
commit
658c50336c
7 changed files with 23 additions and 56 deletions
|
@ -23,7 +23,6 @@ opt.autoread = true -- automatically reload modified files
|
|||
opt.wildmenu = true -- handle autocompletion menu
|
||||
|
||||
opt.wrap = false
|
||||
-- opt.list = true
|
||||
|
||||
opt.modelines = 5
|
||||
opt.matchtime = 1
|
||||
|
@ -40,6 +39,10 @@ opt.backspace = "indent,eol,start" -- allow backspace on indent, eol, or
|
|||
opt.cursorline = true
|
||||
opt.swapfile = false -- disable swap file
|
||||
|
||||
-- highlight trailing white space
|
||||
vim.fn.matchadd('errorMsg', [[\s\+$]])
|
||||
|
||||
|
||||
-- use system clipboard as default register
|
||||
opt.clipboard:append("unnamedplus")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue