Sort links in the list generated by VimwikiGenerateTags

Fix #192
This commit is contained in:
EinfachToll 2016-02-19 11:32:58 +01:00
parent 5f9dbca89c
commit 0ea8d85b7f

View File

@ -317,7 +317,7 @@ function! vimwiki#tags#generate_tags(...) abort "{{{
\ '', \ '',
\ substitute(g:vimwiki_rxH2_Template, '__Header__', tagname, ''), \ substitute(g:vimwiki_rxH2_Template, '__Header__', tagname, ''),
\ '' ]) \ '' ])
for taglink in tags_entries[tagname] for taglink in sort(tags_entries[tagname])
call add(lines, bullet . call add(lines, bullet .
\ substitute(g:vimwiki_WikiLinkTemplate1, '__LinkUrl__', taglink, '')) \ substitute(g:vimwiki_WikiLinkTemplate1, '__LinkUrl__', taglink, ''))
endfor endfor