summaryrefslogtreecommitdiffstats
path: root/runtime/menu.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-10-03 22:02:18 +0000
committerBram Moolenaar <Bram@vim.org>2005-10-03 22:02:18 +0000
commit1c7715dfe4f29be631b78699cbca786d30852886 (patch)
treedbfa5f54e9411291baef314b67e5f8f5cec595cc /runtime/menu.vim
parentbb15b658647d8eca01e67df871f7cb5ed95e2534 (diff)
updated for version 7.0153
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r--runtime/menu.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim
index f4ed1b5283..1a221bff35 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: 2005 Aug 16
+" Last Change: 2005 Oct 01
" 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.
@@ -902,7 +902,7 @@ if has("spell")
endif
let curcol = col('.')
- let w = spellbadword()
+ let [w, a] = spellbadword()
if col('.') > curcol " don't use word after the cursor
let w = ''
call cursor(0, curcol) " put the cursor back where it was