diff --git a/nix/home/neovim/neovim.nix b/nix/home/neovim/neovim.nix index d99f8ce..ea66ecd 100644 --- a/nix/home/neovim/neovim.nix +++ b/nix/home/neovim/neovim.nix @@ -64,6 +64,14 @@ vim.opt.smartindent = true + -- vim leave function + vim.api.nvim_create_autocmd({ "VimLeave" }, { + callback = function() + vim.cmd('set guicursor=a:hor20-Cursor/lCursor') + end, + }) + + -- load plugins -- neo-tree require("neo-tree").setup({