Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f18a66b

Browse files
fix(checkboxes): Do not uncheck current line checkbox on new entry
Fixes #824
1 parent 483b23f commit f18a66b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lua/orgmode/files/init.lua

-3
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,6 @@ end
230230
function OrgFiles:get_closest_listitem()
231231
local get_listitem_node = function()
232232
local node_at_cursor = ts_utils.get_node_at_cursor()
233-
if node_at_cursor and node_at_cursor:type() == 'list' then
234-
return node_at_cursor:named_child(0)
235-
end
236233
return ts_utils.closest_node(node_at_cursor, 'listitem')
237234
end
238235

0 commit comments

Comments
 (0)