We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003b9d9 commit 34bc997Copy full SHA for 34bc997
lua/orgmode/org/mappings.lua
@@ -163,7 +163,6 @@ function OrgMappings:toggle_checkbox()
163
checkbox = checkbox:gsub('%[[%sXx%-]?%]$', new_val)
164
local new_line = line:gsub(pattern, checkbox)
165
vim.fn.setline('.', new_line)
166
- local headline = Headline:new(tree_utils.closest_headline())
167
local list = List:new(tree_utils.closest_list())
168
list:update_parent_cookie()
169
end
0 commit comments