projects
/
dotfiles_nvim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ebbe5
)
remove debug print
author
Lukas Hägele
<lukas.haegele93@web.de>
Sun, 11 Oct 2026 12:45:41 +0000
(14:45 +0200)
committer
Lukas Hägele
<lukas.haegele93@web.de>
Sun, 11 Oct 2026 12:45:41 +0000
(14:45 +0200)
plugin/treesitter/section-divider.lua
patch
|
blob
|
history
diff --git
a/plugin/treesitter/section-divider.lua
b/plugin/treesitter/section-divider.lua
index c73be7934c4b637536ff1a69d1cb84f84c05b733..49f8a5b54da4f740dfbf8777793cd1f7d8e6fb6b 100644
(file)
--- a/
plugin/treesitter/section-divider.lua
+++ b/
plugin/treesitter/section-divider.lua
@@
-33,7
+33,6
@@
local function update_extmarks()
if vim.startswith(text, "///") then
local win_width = vim.api.nvim_win_get_width(winid)
local fill_count = math.max(0, win_width - end_col - 4)
- vim.print("win_width: " ..win_width ..", end_col: " ..end_col ..", fill_count: " ..fill_count)
local divider = string.rep("-", fill_count)
pcall(vim.api.nvim_buf_set_extmark, bufnr, ns_id, end_row, 0, {
virt_text = {{divider, "Comment"}},