Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Highlight The Current Line Of Text In Neovim With A .lua Config File

I saw TJ DeVries streaming on Twitch with Neovim setup to highlight the current line of text. It made it easier to see where the cursor is when jumping around a file. I updated my `~/.config/nvim/init.lua`` file with these lines to turn on the highlighter.

Code

vim.o.cursorline = true
vim.o.culopt = 'line'

References