From 1588bc8ebee22f2855f27273fc2234fff370f86c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 8 Mar 2022 21:35:07 +0000 Subject: Update runtime files --- runtime/menu.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime/menu.vim') diff --git a/runtime/menu.vim b/runtime/menu.vim index 602c4d5455..9ba2d3b3fa 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar -" Last Change: 2022 Feb 23 +" Last Change: 2022 Mar 02 " Note that ":an" (short for ":anoremenu") is often used to make a menu work " in all modes and avoid side effects from mappings defined by the user. @@ -583,9 +583,9 @@ def s:XxdConv() :%!mc vim:xxd else s:XxdFind() - exe '%!' .. g:xxdprogram + exe ':%!' .. g:xxdprogram endif - if getline(1) =~ "^0000000:" # only if it worked + if getline(1) =~ "^00000000:" # only if it worked set ft=xxd endif &mod = mod @@ -597,7 +597,7 @@ def s:XxdBack() :%!mc vim:xxd -r else s:XxdFind() - exe '%!' .. g:xxdprogram .. ' -r' + exe ':%!' .. g:xxdprogram .. ' -r' endif set ft= doautocmd filetypedetect BufReadPost -- cgit v1.2.3