Integrate seamless, automatic, and persistent colorscheme switching for all neovim
plugins in my config
This commit is contained in:
parent
76a2e58ab8
commit
9c5a1479b7
7 changed files with 277 additions and 262 deletions
|
|
@ -1,3 +1,5 @@
|
|||
local utils = require("utils")
|
||||
|
||||
local saved_hlsearch = false
|
||||
local saved_highlights = {}
|
||||
|
||||
|
|
@ -23,7 +25,7 @@ end
|
|||
|
||||
local function save_and_set_invisible_inlay_hints_hl()
|
||||
saved_highlights = vim.api.nvim_get_hl(0, { name = "LspInlayHint" })
|
||||
vim.api.nvim_set_hl(0, "LspInlayHint", { fg = require("colors").get().bg, bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "LspInlayHint", { fg = utils.ayu_colors.bg, bg = "none" })
|
||||
end
|
||||
|
||||
local function restore_inlay_hints_hl()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue