turn all != into !=# or !=? when comparing strings

This commit is contained in:
EinfachToll
2015-02-09 20:24:18 +01:00
parent 9ada4d2041
commit 6716ba709f
3 changed files with 17 additions and 17 deletions

View File

@ -966,7 +966,7 @@ function! s:process_tag_h(line, id) "{{{
let h_id = s:safe_html_anchor(h_text)
let centered = (a:line =~ '^\s')
if h_text != g:vimwiki_toc_header
if h_text !=# g:vimwiki_toc_header
let a:id[h_level-1] = [h_text, a:id[h_level-1][1]+1]