[neovim] fix indentation and add cursor theme

This commit is contained in:
Simon Cornet 2024-04-03 17:50:29 +02:00
parent 129f5f6338
commit 0a744753d5

View File

@ -53,6 +53,7 @@
vim.opt.backspace = '2' vim.opt.backspace = '2'
vim.opt.laststatus = 2 vim.opt.laststatus = 2
vim.opt.cursorline = true vim.opt.cursorline = true
vim.opt.guicursor= { 'a:hor20-Cursor/lCursor' }
-- set scrolloff -- set scrolloff
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
@ -66,9 +67,9 @@
-- vim leave function -- vim leave function
vim.api.nvim_create_autocmd({ "VimLeave" }, { vim.api.nvim_create_autocmd({ "VimLeave" }, {
callback = function() callback = function()
vim.cmd('set guicursor=a:hor20-Cursor/lCursor') vim.cmd('set guicursor=a:hor20-Cursor/lCursor')
end, end,
}) })