Enable hybrid line numbers

This commit is contained in:
pancakes 2025-11-10 12:20:30 +10:00
parent 22fdff17ad
commit 0b24af1beb
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw

View file

@ -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 --