mirror of
https://github.com/gbprod/nord.nvim.git
synced 2026-08-24 02:34:16 -05:00
feat: markview (#81)
This commit is contained in:
@@ -44,6 +44,7 @@ and [the official vscode theme](https://github.com/arcticicestudio/nord-visual-s
|
||||
- [Codeium](https://github.com/Exafunction/codeium.vim)
|
||||
- [Flash.nvim](https://github.com/folke/flash.nvim)
|
||||
- [Glance](https://github.com/dnlhc/glance.nvim)
|
||||
- [Markview](https://github.com/OXY2DEV/markview.nvim)
|
||||
|
||||
Your preferred plugin is missing ? Open an issue or, even better, open a pull
|
||||
request 😉.
|
||||
|
||||
+2
-1
@@ -39,7 +39,8 @@ function nord.load(opts)
|
||||
require("nord.plugins.diffview").highlights(),
|
||||
require("nord.plugins.neogit").highlights(),
|
||||
require("nord.plugins.glance").highlights(),
|
||||
require("nord.plugins.mini").highlights()
|
||||
require("nord.plugins.mini").highlights(),
|
||||
require("nord.plugins.markview").highlights()
|
||||
)
|
||||
|
||||
vim.g.colors_name = "nord"
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
local M = {}
|
||||
|
||||
local c = require("nord.colors").palette
|
||||
local utils = require("nord.utils")
|
||||
|
||||
function M.highlights()
|
||||
return {
|
||||
MarkviewCode = { bg = c.polar_night.bright },
|
||||
MarkviewInlineCode = { bg = c.polar_night.bright },
|
||||
|
||||
MarkviewHeading1 = { fg = c.aurora.green, bg = utils.darken(c.aurora.green, 0.1) },
|
||||
MarkviewHeading2 = { fg = c.aurora.yellow, bg = utils.darken(c.aurora.yellow, 0.1) },
|
||||
MarkviewHeading3 = { fg = c.aurora.purple, bg = utils.darken(c.aurora.purple, 0.1) },
|
||||
MarkviewHeading4 = { fg = c.frost.polar_water, bg = utils.darken(c.frost.polar_water, 0.1) },
|
||||
MarkviewHeading5 = { fg = c.frost.ice, bg = utils.darken(c.frost.ice, 0.1) },
|
||||
MarkviewHeading6 = { fg = c.frost.artic_ocean, bg = utils.darken(c.frost.artic_ocean, 0.1) },
|
||||
|
||||
MarkviewHeading1Sign = { fg = c.aurora.green },
|
||||
MarkviewHeading2Sign = { fg = c.aurora.yellow },
|
||||
MarkviewHeading3Sign = { fg = c.aurora.purple },
|
||||
MarkviewHeading4Sign = { fg = c.frost.polar_water },
|
||||
MarkviewHeading5Sign = { fg = c.frost.ice },
|
||||
MarkviewHeading6Sign = { fg = c.frost.artic_ocean },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user