Add options lua file

This commit is contained in:
flyingscorpio@clevo 2022-07-31 09:35:16 +02:00
parent d9c6775dc7
commit 95afa57b21
2 changed files with 14 additions and 0 deletions

View file

@ -4,5 +4,6 @@ require('remaps')
require('spacetabs')
require('searching')
require('folding')
require('options')
require('plugins')
-- require('colors')

View file

@ -0,0 +1,13 @@
-- OPTIONS
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.spelllang = { 'en', 'fr' }
vim.opt.showcmd = true -- show command in bottom bar
vim.opt.cursorline = true -- highlight current line
vim.cmd('filetype indent on') -- load filetype-specific indent files
vim.opt.autoindent = true -- use indentation of previous line
vim.opt.smartindent = true -- use intelligent indentation for C
vim.opt.wildmenu = true -- visual autocomplete for command menu
vim.opt.lazyredraw = true -- redraw only when necessary
vim.opt.showmatch = true -- highlight matching braces