Mercurial > vim
comparison src/testdir/test_maparg.vim @ 15607:2dcaa860e3fc v8.1.0811
patch 8.1.0811: too many #ifdefs
commit https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 24 17:59:39 2019 +0100
patch 8.1.0811: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Jan 2019 18:00:07 +0100 |
parents | 0a3b9ecf7cb8 |
children | e17cbc3e545d |
comparison
equal
deleted
inserted
replaced
15606:50e09796a00a | 15607:2dcaa860e3fc |
---|---|
1 " Tests for maparg(). | 1 " Tests for maparg(). |
2 " Also test utf8 map with a 0x80 byte. | 2 " Also test utf8 map with a 0x80 byte. |
3 if !has("multi_byte") | |
4 finish | |
5 endif | |
6 | 3 |
7 function s:SID() | 4 function s:SID() |
8 return str2nr(matchstr(expand('<sfile>'), '<SNR>\zs\d\+\ze_SID$')) | 5 return str2nr(matchstr(expand('<sfile>'), '<SNR>\zs\d\+\ze_SID$')) |
9 endfun | 6 endfun |
10 | 7 |