Skip to content

Commit e7d556e

Browse files
committed
Remove unnecessary comment
A whole chunk of code, to be precise. I'm always railing about whole chunks of commented out code with my coworkers, and here I am leaving it on my main branch. Tisk.
1 parent 4f2b0a8 commit e7d556e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lua/treewalker/operations.lua

-12
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@ function M.highlight(range, duration, hl_group)
1919
vim.api.nvim_buf_add_highlight(0, ns_id, hl_group, row, 0, -1)
2020
end
2121

22-
-- -- This accomplishes the same thing, but filling the entire space with
23-
-- -- highlight, _including empty lines_.
24-
-- -- The only reason I don't want it now is because I can't figure out how
25-
-- -- to get it to not extend the full width of the window.
26-
-- -- Add ext marks for the range
27-
-- local start_mark = vim.api.nvim_buf_set_extmark(0, ns_id, start_row, start_col, {
28-
-- hl_group = hl_group,
29-
-- end_row = end_row,
30-
-- end_col = end_col,
31-
-- hl_eol = true,
32-
-- })
33-
3422
-- Remove the highlight after delay
3523
vim.defer_fn(function()
3624
vim.api.nvim_buf_clear_namespace(0, ns_id, 0, -1)

0 commit comments

Comments
 (0)