From f2e27f7a592c6db46bb87b224660ea32e0bb26b6 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 12 Jan 2025 00:36:00 +0100 Subject: [PATCH] Change nvim_get_hl_by_name -> nvim_get_hl in leap --- home/.config/nvim/lua/plugs/leap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/lua/plugs/leap.lua b/home/.config/nvim/lua/plugs/leap.lua index abfef61..1fe86c4 100644 --- a/home/.config/nvim/lua/plugs/leap.lua +++ b/home/.config/nvim/lua/plugs/leap.lua @@ -4,7 +4,7 @@ local colors = require("ayu.colors") colors.generate(true) local function save_and_set_invisible_inlay_hints_hl() - saved_highlights = vim.api.nvim_get_hl_by_name("LspInlayHint", true) + saved_highlights = vim.api.nvim_get_hl(0, { name = "LspInlayHint" }) vim.api.nvim_set_hl(0, "LspInlayHint", { fg = colors.bg, bg = "none" }) end