From 0b24af1beb266472954adade2a229280e11274da Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 10 Nov 2025 12:20:30 +1000 Subject: [PATCH] Enable hybrid line numbers --- nvim/.config/nvim/lua/config/options.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua index f34f18b..c33f2a1 100644 --- a/nvim/.config/nvim/lua/config/options.lua +++ b/nvim/.config/nvim/lua/config/options.lua @@ -2,13 +2,14 @@ vim.g.editorconfig = true -- respect editorconfig files vim.g.snacks_animate = false -- disable snacks.nvim animations -- appearance -vim.opt.background = "dark" -- -vim.opt.colorcolumn = "80" -- highlight column 80 -vim.opt.cursorline = true -- highlight line the cursor is on -vim.opt.number = true -- enable line numbers -vim.opt.signcolumn = "yes" -- prevent constant shifting when LSP is enabled -vim.opt.scrolloff = 8 -- add 8 rows of padding when scrolling -vim.opt.termguicolors = true -- +vim.opt.background = "dark" -- +vim.opt.colorcolumn = "80" -- highlight column 80 +vim.opt.cursorline = true -- highlight line the cursor is on +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.scrolloff = 8 -- add 8 rows of padding when scrolling +vim.opt.termguicolors = true -- -- files vim.opt.backup = false -- disable backups