Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
b38dea21
Commit
b38dea21
authored
18 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0-106
parent
27a23191
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runtime/menu.vim
+12
-8
12 additions, 8 deletions
runtime/menu.vim
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
14 additions
and
8 deletions
runtime/menu.vim
+
12
−
8
View file @
b38dea21
...
...
@@ -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: 2006
Apr
1
7
" Last Change: 2006
Sep
1
4
" 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.
...
...
@@ -885,6 +885,8 @@ if has("spell")
if
exists
(
"s:changeitem"
)
&&
s:changeitem
!=
''
call
<
SID
>
SpellDel
()
endif
" Return quickly if spell checking is not enabled.
if
!
&
spell
||
&
spelllang
==
''
return
endif
...
...
@@ -908,18 +910,18 @@ if has("spell")
let
s:fromword
=
w
let
pri
=
1
for
sug
in
s:suglist
exe
'amenu 1.5.'
.
pri
.
' PopUp.'
.
s:changeitem
.
'.'
.
escape
(
sug
,
' .'
)
exe
'a
nore
menu 1.5.'
.
pri
.
' PopUp.'
.
s:changeitem
.
'.'
.
escape
(
sug
,
' .'
)
\
.
' :call <SID>SpellReplace('
.
pri
.
')<CR>'
let
pri
+=
1
endfor
let
s:additem
=
'add\ "'
.
escape
(
w
,
' .'
)
.
'"\ to\ word\ list'
exe
'amenu 1.6 PopUp.'
.
s:additem
.
' :spellgood '
.
w
.
'<CR>'
exe
'a
nore
menu 1.6 PopUp.'
.
s:additem
.
' :spellgood '
.
w
.
'<CR>'
let
s:ignoreitem
=
'ignore\ "'
.
escape
(
w
,
' .'
)
.
'"'
exe
'amenu 1.7 PopUp.'
.
s:ignoreitem
.
' :spellgood! '
.
w
.
'<CR>'
exe
'a
nore
menu 1.7 PopUp.'
.
s:ignoreitem
.
' :spellgood! '
.
w
.
'<CR>'
amenu
1
.
8
PopUp
.-
SpellSep
-
:
a
nore
menu
1
.
8
PopUp
.-
SpellSep
-
:
endif
endif
endfunc
...
...
@@ -938,7 +940,9 @@ if has("spell")
let
s:changeitem
=
''
endfun
au
!
MenuPopup
*
call
<
SID
>
SpellPopup
()
augroup SpellPopupMenu
au
!
MenuPopup
*
call
<
SID
>
SpellPopup
()
augroup END
endif
" The GUI toolbar (for MS-Windows and GTK)
...
...
@@ -1013,9 +1017,9 @@ else
tmenu
ToolBar
.
FindPrev Find Previous
tmenu
ToolBar
.
Replace Find / Replace
...
endif
tmenu
ToolBar
.
LoadSesn Chose
a
session
to
load
tmenu
ToolBar
.
LoadSesn Cho
o
se
a
session
to
load
tmenu
ToolBar
.
SaveSesn Save current session
tmenu
ToolBar
.
RunScript Chose
a
Vim Script
to
run
tmenu
ToolBar
.
RunScript Cho
o
se
a
Vim Script
to
run
tmenu
ToolBar
.
Make Make current project
(:
make
)
tmenu
ToolBar
.
RunCtags Build
tags
in
current
directory
tree
(!
ctags
-
R
.)
tmenu
ToolBar
.
TagJump Jump
to
tag
under
cursor
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
b38dea21
...
...
@@ -666,6 +666,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
106
,
/**/
105
,
/**/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment