summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-11 22:33:31 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-11 22:33:31 +0100
commit1e0cedb58e81aa83a2acb2043e1ace249b414793 (patch)
tree436deee0b973f973dad8ec3f8da9620481149851 /lua
parent0f24d6d470d5fafdfbfae73cb44acd83a9ff604e (diff)
Enable relative line numbers
Diffstat (limited to 'lua')
-rw-r--r--lua/settings/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/settings/options.lua b/lua/settings/options.lua
index 527781f..5535c12 100644
--- a/lua/settings/options.lua
+++ b/lua/settings/options.lua
@@ -28,7 +28,7 @@ local options = {
tabstop = 4, -- insert 2 spaces for a tab
cursorline = true, -- highlight the current line
number = true, -- set numbered lines
- relativenumber = false, -- set relative numbered lines
+ relativenumber = true, -- set relative numbered lines
numberwidth = 4, -- set number column width to 2 {default 4}
signcolumn = "yes", -- always show the sign column, otherwise it would shift the text each time
wrap = false, -- display lines as one long line