Skip to content

Commit 3fc936c

Browse files
committed
chore(math-renderer): fix highlight group name + remove nvim version check
1 parent aa41796 commit 3fc936c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--[[
2-
file: Core-Math-Renderer-LaTeX
2+
file: Math-Renderer-LaTeX
33
title: Convert LaTeX snippets into image files
44
summary: A module that provides images of LaTeX for `core.math.renderer`
55
---
@@ -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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--[[
2-
file: Core-Math-Renderer
2+
file: Math-Renderer
33
title: Conceal Math ranges with their rendered versions
44
summary: An experimental module for rendering inline math blocks
55
---

0 commit comments

Comments
 (0)