aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2023-02-22 10:44:49 +0100
committerFederico Igne <git@federicoigne.com>2023-02-22 10:44:49 +0100
commit8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d (patch)
tree10beca54fe56305b3414c9fd7d628ea37d25f06c
parente106bd8a264ed54c69ddce102fba5d36600ff920 (diff)
downloaddotfiles-8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d.tar.gz
dotfiles-8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d.zip
[nvim] set cursorline highlight
-rw-r--r--neovim/.config/nvim/init.lua3
1 files changed, 3 insertions, 0 deletions
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
44-- middle of the window (except at the start or end of the file). 44-- middle of the window (except at the start or end of the file).
45opt.scrolloff = 999 45opt.scrolloff = 999
46 46
47-- Highlight the text line of the cursor.
48opt.cursorline = true
49
47-- Leave n chars on the left/right of the cursor when scrolling. 50-- Leave n chars on the left/right of the cursor when scrolling.
48opt.sidescrolloff = 20 51opt.sidescrolloff = 20
49 52