Skip to content

Commit

Permalink
chore: Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OXY2DEV committed Aug 28, 2024
1 parent a954ec8 commit 2873bf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/markview/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@ parser.md = function (buffer, TStree, from, to)
elseif capture_name == "list_item" then
local marker = capture_node:named_child(0);
local marker_text = vim.treesitter.get_node_text(marker, buffer);

local symbol = marker_text:gsub("%s", "");

-- Escape special characters
symbol = symbol:gsub("%)", "%%)")

local list_lines, lines, spaces, align_spaces, starts = parser.filter_lines(buffer, row_start, row_end);
Expand Down

0 comments on commit 2873bf1

Please sign in to comment.