Merge branch 'main' of codeberg.org:dnscio/nix-config
This commit is contained in:
commit
5ab86007f1
2 changed files with 2 additions and 7 deletions
|
|
@ -1,12 +1,7 @@
|
|||
-- Highlight on yank
|
||||
local highlight_group = vim.api.nvim_create_augroup("YankHighlight", { clear = true })
|
||||
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highlight_group,
|
||||
pattern = "*",
|
||||
})
|
||||
|
||||
function tbl_flatten(t)
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@ return {
|
|||
highlight.SnacksIndentScope = { fg = color.fg_dim }
|
||||
highlight.CursorLine = { bg = color.tinted_bg_cyan_nuanced }
|
||||
highlight.Visual = { bg = color.bg_magenta_subtle }
|
||||
highlight.IncSearch = { fg = color.cyan, bg = color.bg_cyan_nuanced }
|
||||
highlight.YankHighlight = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight.Search = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight.IncSearch = { fg = color.magenta, bg = color.bg_magenta_nuanced }
|
||||
highlight["@comment"] = { fg = color.fg_dim }
|
||||
end,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue