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 1c13e51 commit 0cfc2d9Copy full SHA for 0cfc2d9
plugin/bullets.vim
@@ -971,7 +971,7 @@ fun! s:change_line_bullet_level(direction, lnum)
971
if a:direction == 1
972
if l:curr_line != [] && indent(a:lnum) == 0
973
" Promoting a bullet at the highest level will delete the bullet
974
- call setline(a:lnum, l:curr_line[0].text_after_bullet)
+ call setline(a:lnum, l:curr_line[-1].text_after_bullet)
975
return
976
else
977
execute a:lnum . 'normal! <<'
0 commit comments