Bring over commits accidentally only on local_machine branch to main

This commit is contained in:
Martin Larsson 2025-07-09 23:58:22 +02:00
parent 07471f5d48
commit 332c883a48
11 changed files with 59 additions and 11 deletions

View file

@ -1,7 +1,5 @@
local saved_hlsearch = false
local saved_highlights = {}
local colors = require("ayu.colors")
colors.generate(true)
local function leap_across_windows()
require("leap").leap({
@ -25,7 +23,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 = colors.bg, bg = "none" })
vim.api.nvim_set_hl(0, "LspInlayHint", { fg = require("colors").get().bg, bg = "none" })
end
local function restore_inlay_hints_hl()