From 0a744753d557d91987a3863abc6a2c6b0dc6f752 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Wed, 3 Apr 2024 17:50:29 +0200 Subject: [PATCH] [neovim] fix indentation and add cursor theme --- nix/home/neovim/neovim.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nix/home/neovim/neovim.nix b/nix/home/neovim/neovim.nix index ea66ecd..d4f9976 100644 --- a/nix/home/neovim/neovim.nix +++ b/nix/home/neovim/neovim.nix @@ -53,6 +53,7 @@ vim.opt.backspace = '2' vim.opt.laststatus = 2 vim.opt.cursorline = true + vim.opt.guicursor= { 'a:hor20-Cursor/lCursor' } -- set scrolloff vim.opt.scrolloff = 10 @@ -66,9 +67,9 @@ -- vim leave function vim.api.nvim_create_autocmd({ "VimLeave" }, { - callback = function() - vim.cmd('set guicursor=a:hor20-Cursor/lCursor') - end, + callback = function() + vim.cmd('set guicursor=a:hor20-Cursor/lCursor') + end, })