Enable hybrid line numbers
This commit is contained in:
parent
22fdff17ad
commit
0b24af1beb
1 changed files with 8 additions and 7 deletions
|
|
@ -2,13 +2,14 @@ vim.g.editorconfig = true -- respect editorconfig files
|
||||||
vim.g.snacks_animate = false -- disable snacks.nvim animations
|
vim.g.snacks_animate = false -- disable snacks.nvim animations
|
||||||
|
|
||||||
-- appearance
|
-- appearance
|
||||||
vim.opt.background = "dark" --
|
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.signcolumn = "yes" -- prevent constant shifting when LSP is enabled
|
vim.opt.relativenumber = true -- enable hybrid line numbers
|
||||||
vim.opt.scrolloff = 8 -- add 8 rows of padding when scrolling
|
vim.opt.signcolumn = "yes" -- prevent constant shifting when LSP is enabled
|
||||||
vim.opt.termguicolors = true --
|
vim.opt.scrolloff = 8 -- add 8 rows of padding when scrolling
|
||||||
|
vim.opt.termguicolors = true --
|
||||||
|
|
||||||
-- files
|
-- files
|
||||||
vim.opt.backup = false -- disable backups
|
vim.opt.backup = false -- disable backups
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue