Skip to content

Commit 0cfc2d9

Browse files
committed
fix: remove checkbox on top-level promotion
1 parent 1c13e51 commit 0cfc2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/bullets.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ fun! s:change_line_bullet_level(direction, lnum)
971971
if a:direction == 1
972972
if l:curr_line != [] && indent(a:lnum) == 0
973973
" Promoting a bullet at the highest level will delete the bullet
974-
call setline(a:lnum, l:curr_line[0].text_after_bullet)
974+
call setline(a:lnum, l:curr_line[-1].text_after_bullet)
975975
return
976976
else
977977
execute a:lnum . 'normal! <<'

0 commit comments

Comments
 (0)