Add options lua file
This commit is contained in:
parent
d9c6775dc7
commit
95afa57b21
2 changed files with 14 additions and 0 deletions
|
@ -4,5 +4,6 @@ require('remaps')
|
|||
require('spacetabs')
|
||||
require('searching')
|
||||
require('folding')
|
||||
require('options')
|
||||
require('plugins')
|
||||
-- require('colors')
|
||||
|
|
13
roles/neovim/files/lua/options.lua
Normal file
13
roles/neovim/files/lua/options.lua
Normal 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
|
Loading…
Add table
Reference in a new issue