Mercurial > vim
view src/testdir/test_menu.vim @ 8388:f5972de59001 v7.4.1486
commit https://github.com/vim/vim/commit/f3654827368e6204608036353a0360e9e7c21e02
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 4 22:12:23 2016 +0100
patch 7.4.1486
Problem: ":loadplugin" is not optimal, some people find it confusing.
Solution: Only use ":packadd" with an optional "!".
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Mar 2016 22:15:04 +0100 |
parents | 6f14d7da2d8a |
children | eb3a2ff3309a |
line wrap: on
line source
" Test that the system menu can be loaded. func Test_load_menu() try source $VIMRUNTIME/menu.vim catch call assert_false(1, 'error while loading menus: ' . v:exception) endtry endfunc