Skip to content

Commit

Permalink
When sorting tags, always match case because Vim expects it
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfachToll committed May 23, 2016
1 parent 4831384 commit 3f66117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/vimwiki/tags.vim
Expand Up @@ -234,9 +234,9 @@ function! s:tags_entry_cmp(i1, i2) "{{{
let item.lineno = 0 + matchstr(fields[2], '\m\d\+')
call add(items, item)
endfor
if items[0].text > items[1].text
if items[0].text ># items[1].text
return 1
elseif items[0].text < items[1].text
elseif items[0].text <# items[1].text
return -1
elseif items[0].lineno > items[1].lineno
return 1
Expand Down

0 comments on commit 3f66117

Please sign in to comment.