feat: vimwiki (#98)

This commit is contained in:
Yushi
2025-09-18 11:49:34 +02:00
committed by GitHub
parent 6f85774a25
commit 459680496d
2 changed files with 24 additions and 1 deletions
+2 -1
View File
@@ -42,7 +42,8 @@ function nord.load(opts)
require("nord.plugins.mini").highlights(),
require("nord.plugins.markview").highlights(),
require("nord.plugins.snacks").highlights(),
require("nord.plugins.dap").highlights()
require("nord.plugins.dap").highlights(),
require("nord.plugins.vimwiki").highlights()
)
vim.g.colors_name = "nord"
+22
View File
@@ -0,0 +1,22 @@
local vimwiki = {}
local c = require("nord.colors").palette
function vimwiki.highlights()
return {
VimwikiLink = { fg = c.aurora.green, bg = c.none },
VimwikiHeaderChar = { fg = c.polar_night.light, bg = c.none },
VimwikiHR = { fg = c.aurora.yellow, bg = c.none },
VimwikiList = { fg = c.frost.artic_water, bg = c.none },
VimwikiTag = { fg = c.aurora.green, bg = c.none },
VimwikiMarkers = { fg = c.frost.artic_ocean, bg = c.none },
VimwikiHeader1 = { fg = c.frost.artic_ocean, bg = c.none, bold = true },
VimwikiHeader2 = { fg = c.frost.artic_water, bg = c.none, bold = true },
VimwikiHeader3 = { fg = c.frost.ice, bg = c.none, bold = true },
VimwikiHeader4 = { fg = c.frost.polar_water, bg = c.none, bold = true },
VimwikiHeader5 = { fg = c.polar_night.light, bg = c.none, bold = true },
VimwikiHeader6 = { fg = c.polar_night.brightest, bg = c.none, bold = true },
}
end
return vimwiki