Enable hybrid line numbers
This commit is contained in:
parent
22fdff17ad
commit
0b24af1beb
1 changed files with 8 additions and 7 deletions
|
|
@ -6,6 +6,7 @@ vim.opt.background = "dark" --
|
||||||
vim.opt.colorcolumn = "80" -- highlight column 80
|
vim.opt.colorcolumn = "80" -- highlight column 80
|
||||||
vim.opt.cursorline = true -- highlight line the cursor is on
|
vim.opt.cursorline = true -- highlight line the cursor is on
|
||||||
vim.opt.number = true -- enable line numbers
|
vim.opt.number = true -- enable line numbers
|
||||||
|
vim.opt.relativenumber = true -- enable hybrid line numbers
|
||||||
vim.opt.signcolumn = "yes" -- prevent constant shifting when LSP is enabled
|
vim.opt.signcolumn = "yes" -- prevent constant shifting when LSP is enabled
|
||||||
vim.opt.scrolloff = 8 -- add 8 rows of padding when scrolling
|
vim.opt.scrolloff = 8 -- add 8 rows of padding when scrolling
|
||||||
vim.opt.termguicolors = true --
|
vim.opt.termguicolors = true --
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue