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