Skip to content

Commit

Permalink
Wrong function
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Apr 21, 2024
1 parent 1167951 commit 9f50afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/bullets.vim
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ command! InsertNewBullet call <SID>insert_new_bullet()
" returns 1 if current line ends in a colon, else 0
fun! s:line_ends_in_colon(lnum)
let l:line = getline(a:lnum)
if exists("*strcharlen") && exists("*strcharget")
if exists("*strcharlen") && exists("*strgetchar")
let l:last_char_nr = strgetchar(l:line, strcharlen(l:line)-1)
return l:last_char_nr == 65306 || l:last_char_nr == 58
else
Expand Down

0 comments on commit 9f50afc

Please sign in to comment.