From fd5408c013eb3c630957647e96ad50c45b25fe53 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 4 May 2026 15:26:17 +0200 Subject: [PATCH] docs: remove redundant comments --- lua/lsp/codelens/row.lua | 3 --- lua/lsp/completion/popup.lua | 1 - 2 files changed, 4 deletions(-) diff --git a/lua/lsp/codelens/row.lua b/lua/lsp/codelens/row.lua index 2e3f01b..91f03e1 100644 --- a/lua/lsp/codelens/row.lua +++ b/lua/lsp/codelens/row.lua @@ -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, diff --git a/lua/lsp/completion/popup.lua b/lua/lsp/completion/popup.lua index 43f853a..c852967 100644 --- a/lua/lsp/completion/popup.lua +++ b/lua/lsp/completion/popup.lua @@ -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