diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-08 21:35:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-08 21:35:07 +0000 |
commit | 1588bc8ebee22f2855f27273fc2234fff370f86c (patch) | |
tree | 7ef17f0d3739007a97fbe09daa1f96757a8ac8f2 /runtime/menu.vim | |
parent | ed0c62e7b16b62655824df28cdd6bd75aadbb8fc (diff) |
Update runtime files
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r-- | runtime/menu.vim | 8 |
1 files changed, 4 insertions, 4 deletions
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 <Bram@vim.org> -" 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 |