Skip to content

Commit 3288a4c

Browse files
committed
chore(math-renderer): fix highlight group name + remove nvim version check
1 parent 72bea46 commit 3288a4c

File tree

1 file changed

+1
-3
lines changed
  • lua/neorg/modules/core/math/renderer/latex

1 file changed

+1
-3
lines changed

lua/neorg/modules/core/math/renderer/latex/module.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Requires:
1414
- graphicx
1515
- `dvipng` executable in path (normally comes with LaTeX)
1616
17-
A highlight group that controls the foreground color of the rendered math: `@norg.rendered.latex`,
17+
A highlight group that controls the foreground color of the rendered math: `@neorg.rendered.math`,
1818
configurable in `core.highlights`. It links to `Normal` by default
1919
2020
Note, when `'concealcursor'` contains `"n"` This plugin will fail for the time being.
@@ -23,8 +23,6 @@ local nio
2323
local neorg = require("neorg.core")
2424
local module = neorg.modules.create("core.math.renderer.latex")
2525

26-
assert(vim.re ~= nil, "Neovim 0.10.0+ is required for the `core.math.renderer.latex` module!")
27-
2826
module.load = function()
2927
nio = require("nio")
3028
end

0 commit comments

Comments
 (0)