feat: enabled line numbers
This commit is contained in:
parent
e31e91a2c2
commit
5567153673
2 changed files with 10 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -1,2 +1,3 @@
|
|||
require('settings')
|
||||
require('plugins')
|
||||
require('themes')
|
||||
|
|
9
lua/settings.lua
Normal file
9
lua/settings.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
-- source file everytime it changes
|
||||
vim.cmd([[
|
||||
augroup user_settings
|
||||
autocmd!
|
||||
autocmd BufWritePost settings.lua source <afile>
|
||||
augroup end
|
||||
]])
|
||||
|
||||
vim.opt.number = true
|
Loading…
Reference in a new issue