diff --git a/lua/markview/spec.lua b/lua/markview/spec.lua index 9039d01..5791d9b 100644 --- a/lua/markview/spec.lua +++ b/lua/markview/spec.lua @@ -2114,6 +2114,7 @@ spec.default = { ---_ }, + math_spans = { ---+${lua} diff --git a/lua/markview/symbols.lua b/lua/markview/symbols.lua index 681eb86..4aa4121 100644 --- a/lua/markview/symbols.lua +++ b/lua/markview/symbols.lua @@ -3339,7 +3339,7 @@ symbols.typst_shorthands = { ["arrow.l.r.double.long"] = "<==>", ["arrow.l.r.long"] = "<->", ---_ -} +}; symbols.fonts = { ---+${clqss} @@ -4330,20 +4330,4 @@ symbols.tostring = function (font, text) return _o; end - --- vim.api.nvim_set_keymap("n", "x", "", { --- callback = function () --- local c = vim.api.nvim_win_get_cursor(0); --- local ln = vim.api.nvim_buf_get_lines(0, c[1] - 1, c[1], false)[1]; --- vim.print(ln) --- --- for hex in ln:gmatch("(%d+)") do --- ln = ln:gsub(hex, vim.fn.nr2char(hex)); --- end --- --- vim.api.nvim_buf_set_lines(0, c[1] - 1, c[1], false, { ln }); --- end}) --- --- vim.print(symbols.tostring("mathtt", " zwsp")) - return symbols;