Skip to content
Snippets Groups Projects
Commit a411e5d9 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

Set 'wrapscan' when checking the .po files. (Mike Williams)

parent 3832c466
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,10 @@ func! GetMline()
return substitute(idline, '[^%]*\(%[-+ #''.0-9*]*l\=[dsuxXpoc%]\)\=', '\1', 'g')
endfunc
" This only works when 'wrapscan' is set.
let s:save_wrapscan = &wrapscan
set wrapscan
" Start at the first "msgid" line.
1
/^msgid
......@@ -78,4 +82,7 @@ if error == 0
echo "OK"
endif
let &wrapscan = s:save_wrapscan
unlet s:save_wrapscan
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment