From 8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Wed, 22 Feb 2023 10:44:49 +0100 Subject: [nvim] set cursorline highlight --- neovim/.config/nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index a756a8b..bc6605d 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -44,6 +44,9 @@ opt.autowrite = true -- middle of the window (except at the start or end of the file). opt.scrolloff = 999 +-- Highlight the text line of the cursor. +opt.cursorline = true + -- Leave n chars on the left/right of the cursor when scrolling. opt.sidescrolloff = 20 -- cgit v1.2.3