First version
This commit is contained in:
15
lua/user/options.lua
Normal file
15
lua/user/options.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
-- Line numbers
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- Indent width4 (spaces); new lines inherit current indent
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.softtabstop = -1 -- follow shiftwidth (Neovim)
|
||||
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.copyindent = true
|
||||
vim.opt.smartindent = true -- pressing Enter after `{` indents the next line
|
||||
|
||||
vim.cmd('filetype plugin indent on')
|
||||
Reference in New Issue
Block a user