mirror of
https://github.com/softinio/nvim-config.git
synced 2025-10-19 03:36:42 -07:00
Merge pull request 'correction to vscode yank bg' (#48) from push-tnssrruqoztz into main
Reviewed-on: #48
This commit is contained in:
commit
b2bfec57b8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = " "
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
-- highligh yank
|
-- highligh yank
|
||||||
vim.api.nvim_set_hl(0, "YankHighlight", { guibg = "#d19a66" })
|
vim.api.nvim_set_hl(0, "YankHighlight", { bg = "#d19a66" })
|
||||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.highlight.on_yank({ higroup = "YankHighlight", timeout = 1000 })
|
vim.highlight.on_yank({ higroup = "YankHighlight", timeout = 1000 })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue