Nvim settings, lsp, git
This commit is contained in:
parent
b3fab9a8af
commit
2d7c3cd696
6 changed files with 68 additions and 9 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue