neovim config
This commit is contained in:
22
nvim/lua/options.lua
Normal file
22
nvim/lua/options.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
||||
-- case insensitive search
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.smartcase = true
|
||||
|
||||
-- show line numbers
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- show trailing whitespace
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars = {
|
||||
tab = '▏ ',
|
||||
multispace = '▏ ',
|
||||
trail = '·',
|
||||
extends = '…',
|
||||
precedes = '…'
|
||||
}
|
||||
|
||||
vim.cmd([[match errorMsg /\s\+$/]])
|
||||
Reference in New Issue
Block a user