docs: remove redundant comments
This commit is contained in:
@@ -93,9 +93,6 @@ function Row:render(buf)
|
||||
}
|
||||
end
|
||||
|
||||
-- One extmark per row. Extmarks auto-shift with edits, so multiple from
|
||||
-- prior refreshes can end up on the same row; pick the first and drop
|
||||
-- the rest, then reuse its id for an atomic update.
|
||||
local marks = vim.api.nvim_buf_get_extmarks(
|
||||
buf,
|
||||
NS,
|
||||
|
||||
@@ -257,7 +257,6 @@ function Popup:ensure_buffer()
|
||||
vim.bo[bufnr].buftype = "nofile"
|
||||
vim.bo[bufnr].bufhidden = "hide"
|
||||
vim.bo[bufnr].swapfile = false
|
||||
-- Markdown parser may not be installed; fall back to no highlighting.
|
||||
pcall(vim.treesitter.start, bufnr, "markdown")
|
||||
self.bufnr = bufnr
|
||||
return bufnr
|
||||
|
||||
Reference in New Issue
Block a user