diff options
author | Federico Igne <git@federicoigne.com> | 2023-02-22 10:44:49 +0100 |
---|---|---|
committer | Federico Igne <git@federicoigne.com> | 2023-02-22 10:44:49 +0100 |
commit | 8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d (patch) | |
tree | 10beca54fe56305b3414c9fd7d628ea37d25f06c | |
parent | e106bd8a264ed54c69ddce102fba5d36600ff920 (diff) | |
download | dotfiles-8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d.tar.gz dotfiles-8c6b0f886359e8cf3d0b92eb5a55cffdd243b65d.zip |
[nvim] set cursorline highlight
-rw-r--r-- | neovim/.config/nvim/init.lua | 3 |
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). |
45 | opt.scrolloff = 999 | 45 | opt.scrolloff = 999 |
46 | 46 | ||
47 | -- Highlight the text line of the cursor. | ||
48 | opt.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. |
48 | opt.sidescrolloff = 20 | 51 | opt.sidescrolloff = 20 |
49 | 52 | ||