From 8ac40755767307c7ffcd40ef52f90d507eb5c02c Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Sun, 29 May 2022 11:26:20 -0400 Subject: [PATCH] Enabled relative line-numbers, with regular line-numbers on the current line. --- lua/user/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/options.lua b/lua/user/options.lua index 49f4adb..8a123b2 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -26,7 +26,7 @@ vim.opt.shiftwidth = 2 -- the number of spaces inserted vim.opt.tabstop = 2 -- insert 2 spaces for a tab vim.opt.cursorline = true -- highlight the current line vim.opt.number = true -- set numbered lines -vim.opt.relativenumber = false -- set relative numbered lines +vim.opt.relativenumber = true -- set relative numbered lines vim.opt.numberwidth = 4 -- set number column width to 2 {default 4} vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time vim.opt.wrap = false -- display lines as one long line