Nvim settings, lsp, git

This commit is contained in:
Luka Jankovic 2025-01-22 01:00:40 +01:00
parent b3fab9a8af
commit 2d7c3cd696
6 changed files with 68 additions and 9 deletions

View file

@ -9,6 +9,15 @@ vim.o.shiftwidth = 4
-- Clipboard
vim.o.clipboard = "unnamedplus"
vim.api.nvim_exec(
[[
augroup YankHighlight
autocmd!
autocmd TextYankPost * silent! lua vim.highlight.on_yank()
augroup end
]],
false
)
-- Restore cursor
local restore_cursor_augroup = vim.api.nvim_create_augroup("restore_cursor_shape_on_exit", { clear = true })