irongit

A Neovim plugin enabling you to solve LeetCode problems.

fix(theme): link

kawreauthored
parent 183ea3ecommit 1092ef9da2162710d49358c966a1634cdf64d42eBrowse files

1 file changed, +3 -3

+3-3lua/leetcode/theme/default.lua
@@ -3,7 +3,7 @@
33 ---@param name string String for looking up highlight group.
44 ---@return table
55 local function hl(name)
6- local highlight = vim.api.nvim_get_hl(0, { name = name, link = true })
6+ local highlight = vim.api.nvim_get_hl(0, { name = name, link = false })
77 setmetatable(highlight, {
88 __index = function(self, key)
99 if key == "bg" then return self.background end
@@ -16,8 +16,8 @@ local function hl(name)
1616 return highlight
1717 end
1818
19----@alias lc.Themes table<string, table>
20----@type lc.Themes
19+---@alias lc.highlights table<string, table>
20+---@type lc.highlights
2121 return function()
2222 return {
2323 easy = { fg = "#46c6c2" },