From 0446d3b6eda8fc2c9ae7769d1216936c2d513df3 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 21 Sep 2022 14:17:07 -0300 Subject: [PATCH] Enable line numbers (for some reason) --- nvim/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/init.lua b/nvim/init.lua index 429c361..7b55446 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -11,6 +11,8 @@ vim.opt.showtabline = 2 -- always show the tab bar vim.opt.scrolloff = 2 -- number of lines to always have around cursor vim.opt.splitright = true -- vertical splits open on the right vim.opt.splitbelow = true -- horizontal splits open on the bottom +vim.opt.number = true -- show line numbers +vim.opt.relativenumber = true -- line numbers are relative to the current line vim.g.mapleader = ' ' -- space is the leader character -- commands that don't exist in lua yet