Skip to content

Commit

Permalink
chore: Removed unnecessary codes.
Browse files Browse the repository at this point in the history
Ref: #177
  • Loading branch information
OXY2DEV committed Jan 12, 2025
1 parent b12d35c commit 0873b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions lua/markview/spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2114,6 +2114,7 @@ spec.default = {

---_
},

math_spans = {
---+${lua}

Expand Down
18 changes: 1 addition & 17 deletions lua/markview/symbols.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3339,7 +3339,7 @@ symbols.typst_shorthands = {
["arrow.l.r.double.long"] = "<==>",
["arrow.l.r.long"] = "<->",
---_
}
};

symbols.fonts = {
---+${clqss}
Expand Down Expand Up @@ -4330,20 +4330,4 @@ symbols.tostring = function (font, text)
return _o;
end


-- vim.api.nvim_set_keymap("n", "<leader>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;

0 comments on commit 0873b5b

Please sign in to comment.