Turn on absolute and relative line numbers.
Section: Lua options
Enable line numbers
lua
lua
vim.opt.number = true
vim.opt.relativenumber = trueExplanation
A common navigation-friendly default in modern Neovim configs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Lua options