Skip to content

Commit 1af5ad9

Browse files
ArtixBTWgeorgeharker
authored andcommittedJul 9, 2024
fix(vimwiki): VimwikiHeader highlights and URL metadata (folke#575)
## What is this PR for? Vimwiki support was added in [8850021](folke@8850021) but there was a typo in the generation of the `VimwikiHeader` highlights and instead they were generated under `VimwikiHeaer`. It also seems the the URL was set to headlines.nvim by mistake, presumably because this file was based off of the headlines.nvim group file. Disclaimer: I don't actually use vimwiki but I was looking through the commits and saw this easy to fix bug so I did it myself.
1 parent c124d06 commit 1af5ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lua/tokyonight/groups/vimwiki.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local M = {}
22

3-
M.url = "https://github.com/lukas-reineke/headlines.nvim"
3+
M.url = "https://github.com/vimwiki/vimwiki"
44

55
---@type tokyonight.HighlightsFn
66
function M.get(c, opts)
@@ -14,7 +14,7 @@ function M.get(c, opts)
1414
VimwikiMarkers = { fg = c.blue, bg = c.none },
1515
}
1616
for i, color in ipairs(c.rainbow) do
17-
ret["VimwikiHeaer" .. i] = { fg = color, bg = c.none, bold = true }
17+
ret["VimwikiHeader" .. i] = { fg = color, bg = c.none, bold = true }
1818
end
1919
return ret
2020
end

0 commit comments

Comments
 (0)
Please sign in to comment.