Mercurial > vim
view src/testdir/test_help.vim @ 12541:fcb11cfca8b3 v8.0.1149
patch 8.0.1149: libvterm colors differ from xterm
commit https://github.com/vim/vim/commit/a8fc0d3817f69b3599a1b56d74a2ddbd3139f40c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 26 13:59:47 2017 +0200
patch 8.0.1149: libvterm colors differ from xterm
Problem: libvterm colors differ from xterm.
Solution: Use the xterm colors for libvterm.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Sep 2017 14:00:06 +0200 |
parents | 55cf556d8ce1 |
children | e1deb00ffc27 |
line wrap: on
line source
" Tests for :help func Test_help_restore_snapshot() help set buftype= help edit x help helpclose endfunc func Test_help_errors() call assert_fails('help doesnotexist', 'E149:') call assert_fails('help!', 'E478:') new set keywordprg=:help call setline(1, " ") call assert_fails('normal VK', 'E349:') bwipe! endfunc func Test_help_keyword() new set keywordprg=:help call setline(1, " Visual ") normal VK call assert_match('^Visual mode', getline('.')) call assert_equal('help', &ft) close bwipe! endfunc