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

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