Skip to content

Commit

Permalink
chore(math-renderer): fix highlight group name + remove nvim version …
Browse files Browse the repository at this point in the history
…check
  • Loading branch information
benlubas committed Jul 8, 2024
1 parent 72bea46 commit 3288a4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/neorg/modules/core/math/renderer/latex/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Requires:
- graphicx
- `dvipng` executable in path (normally comes with LaTeX)
A highlight group that controls the foreground color of the rendered math: `@norg.rendered.latex`,
A highlight group that controls the foreground color of the rendered math: `@neorg.rendered.math`,
configurable in `core.highlights`. It links to `Normal` by default
Note, when `'concealcursor'` contains `"n"` This plugin will fail for the time being.
Expand All @@ -23,8 +23,6 @@ local nio
local neorg = require("neorg.core")
local module = neorg.modules.create("core.math.renderer.latex")

assert(vim.re ~= nil, "Neovim 0.10.0+ is required for the `core.math.renderer.latex` module!")

module.load = function()
nio = require("nio")
end
Expand Down

0 comments on commit 3288a4c

Please sign in to comment.