Mercurial > vim
view src/testdir/test_search_mbyte.in @ 8738:e770986c855a v7.4.1658
commit https://github.com/vim/vim/commit/1473551a4457d4920b235eeeb9f279e196ee7225
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 26 21:00:08 2016 +0100
patch 7.4.1658
Problem: A plugin does not know when VimEnter autocommands were already
triggered.
Solution: Add the v:vim_did_enter variable.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 26 Mar 2016 21:15:05 +0100 |
parents | 5f9aae6928bc |
children |
line wrap: on
line source
Test for search('multi-byte char', 'bce') STARTTEST :source small.vim :source mbyte.vim :set encoding=utf-8 :/^Test bce:/+1 :$put =search('A', 'bce', line('.')) :1;/^Results:/,$wq! test.out ENDTEST Results: Test bce: A