From 1c7715dfe4f29be631b78699cbca786d30852886 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Oct 2005 22:02:18 +0000 Subject: updated for version 7.0153 --- runtime/menu.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/menu.vim') 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 -" 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 -- cgit v1.2.3