neovim config

This commit is contained in:
2025-03-09 20:59:55 +03:00
parent bdab2117f3
commit 972a43b01f
10 changed files with 305 additions and 0 deletions

22
nvim/lua/options.lua Normal file
View 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\+$/]])