Skip to content

Commit 76e5f82

Browse files
committed
updated for version 7.3.925
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
1 parent e1de03d commit 76e5f82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+167
-166
lines changed

runtime/plugin/matchparen.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
" Exit quickly when:
66
" - this plugin was already loaded (or disabled)
77
" - when 'compatible' is set
8-
" - the "CursorMoved" autocmd event is not availble.
8+
" - the "CursorMoved" autocmd event is not available.
99
if exists("g:loaded_matchparen") || &cp || !exists("##CursorMoved")
1010
finish
1111
endif

runtime/tools/vim_vs_net.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
@rem Arguments - +$(CurLine) $(ItemPath)
88
@rem Init Dir - Empty
99
@rem
10-
@rem Coutesy of Brian Sturk
10+
@rem Courtesy of Brian Sturk
1111
@rem
1212
@rem --remote-silent +%1 is a command +954, move ahead 954 lines
1313
@rem --remote-silent %2 full path to file
1414
@rem In Vim
15-
@rem :h --remote-silent for mor details
15+
@rem :h --remote-silent for more details
1616
@rem
1717
@rem --servername VS_NET
1818
@rem This will create a new instance of vim called VS_NET. So if you

src/GvimExt/gvimext.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ STDMETHODIMP_(ULONG) CShellExt::Release()
527527
//
528528
// PARAMETERS:
529529
// pIDFolder - Specifies the parent folder
530-
// pDataObj - Spefifies the set of items selected in that folder.
530+
// pDataObj - Specifies the set of items selected in that folder.
531531
// hRegKey - Specifies the type of the focused item in the selection.
532532
//
533533
// RETURN VALUE:

src/INSTALLvms.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ perl_env :
330330
Also VMS_JACKETS.EXE from OpenVMS Porting Library.
331331

332332
Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
333-
complier directives that is not compatible with "standard" VMS usage,
333+
compiler directives that is not compatible with "standard" VMS usage,
334334
therefore other external features might fail as PERL, PYTHON and TCL
335335
support.
336336

src/Make_cyg.mak

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Makefile for VIM on Win32, using Cygnus gcc
3-
# Last updated by Dan Sharp. Last Change: 2013 Feb 17
3+
# Last updated by Dan Sharp. Last Change: 2013 Apr 22
44
#
55
# Also read INSTALLpc.txt!
66
#
@@ -48,7 +48,7 @@
4848
# USEDLL no or yes: set to yes to use the Runtime library DLL (no)
4949
# For USEDLL=yes the cygwin1.dll is required to run Vim.
5050
# For "no" the mingw-gcc-g++ package or the mingw64-i686-gcc-g++
51-
# package is required to complie Vim. Or set CC to gcc-3 and add
51+
# package is required to compile Vim. Or set CC to gcc-3 and add
5252
# -L/lib/w32api to EXTRA_LIBS.
5353
# POSTSCRIPT no or yes: set to yes for PostScript printing (no)
5454
# FEATURES TINY, SMALL, NORMAL, BIG or HUGE (BIG)

src/Make_mvc.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ MSVCVER = 11.0
418418
!endif
419419
!endif
420420

421-
# Abort bulding VIM if version of VC is unrecognised.
421+
# Abort building VIM if version of VC is unrecognised.
422422
!ifndef MSVCVER
423423
!message *** ERROR
424424
!message Cannot determine Visual C version being used. If you are using the

src/Make_sas.mak

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ clean:
251251

252252
# generate GlobalSymbolTable, which speeds up the compile time.
253253
#
254-
# A preprocessing stage is used to work arounda bug in the GST generator, in
254+
# A preprocessing stage is used to work around a bug in the GST generator, in
255255
# that it does not handle nested makefiles properly in this stage.
256256
# Ignore error message for not producing any code (105).
257257
$(GST): scoptions vim.h keymap.h macros.h ascii.h term.h structs.h
@@ -283,7 +283,7 @@ $(PRO): $(GST) vim.h
283283
.c.pro:
284284
$(CC) $(CFLAGS) GPFILE=proto/$*.pro $(PROPT) $*.c
285285

286-
# dependancies
286+
# dependencies
287287
blowfish.o: blowfish.c
288288
proto/blowfish.pro: blowfish.c
289289
buffer.o: buffer.c

src/Make_vms.mms

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ DECC = YES
3434
# SMALL - Few features enabled, as basic as possible
3535
# NORMAL - A default selection of features enabled
3636
# BIG - Many features enabled, as rich as possible. (default)
37-
# HUGE - All possible featues enabled.
37+
# HUGE - All possible features enabled.
3838
# Please select one of these alternatives above.
3939
MODEL = HUGE
4040

@@ -55,7 +55,7 @@ MODEL = HUGE
5555
# Comment out if you want the compiler version with :ver command.
5656
# NOTE: This part can make some complications if you're using some
5757
# predefined symbols/flags for your compiler. If does, just leave behind
58-
# the comment varialbe CCVER.
58+
# the comment variable CCVER.
5959
CCVER = YES
6060

6161
# Uncomment if want a debug version. Resulting executable is DVIM.EXE

src/Make_w16.mak

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# *************************************************************
55
# * WARNING!
66
# * This was originally produced by the IDE, but has since been
7-
# * modifed to make it work properly. Adjust with care!
7+
# * modified to make it work properly. Adjust with care!
88
# * In particular, leave LinkerLocalOptsAtW16_gvim16dexe alone
99
# * unless you are a guru.
1010
# *************************************************************

src/Makefile

+11-11
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
#Solaris 2.5 (sun4m) cc (SC4.0) +X11R6 +GUI (CDE) 4.6b (E) Andrew Large
201201
#Solaris 2.5 cc +X11 +GUI Athena 4.2 (9) Sonia Heimann
202202
#Solaris 2.5 gcc 2.5.6 +X11 Motif 5.0m (R) Ant. Colombo
203-
#Solaris 2.6 gcc 2.8.1 ncursus 5.3 (G) Larry W. Virden
203+
#Solaris 2.6 gcc 2.8.1 ncurses 5.3 (G) Larry W. Virden
204204
#Solaris with -lthread 5.5 (W) K. Nagano
205205
#Solaris gcc (b) Riccardo
206206
#SunOS 4.1.x +X11 -GUI 5.1b (J) Bram Moolenaar
@@ -231,8 +231,8 @@
231231
# (D) Uncomment lines below for QNX
232232
# (E) You might want to use termlib instead of termcap, see below.
233233
# (F) See below for instructions.
234-
# (G) Using ncursus version 4.2 has reported to cause a crash. Use the
235-
# Sun cursus library instead.
234+
# (G) Using ncurses version 4.2 has reported to cause a crash. Use the
235+
# Sun curses library instead.
236236
# (H) See line for EXTRA_LIBS below.
237237
# (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix.
238238
# (J) If you get undefined symbols, see below for a solution.
@@ -402,7 +402,7 @@ CClink = $(CC)
402402
# to the command line. If you see strange flags during compilation, check in
403403
# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
404404
# the next line.
405-
# When you get an error for a missing "perl.exp" file, try creating an emtpy
405+
# When you get an error for a missing "perl.exp" file, try creating an empty
406406
# one: "touch perl.exp".
407407
# This requires at least "small" features, "tiny" doesn't work.
408408
#CONF_OPT_PERL = --enable-perlinterp
@@ -601,7 +601,7 @@ LINT_OPTIONS = -beprxzF
601601
# Might not work with GUI or Perl.
602602
# For unknown reasons adding "-lc" fixes a linking problem with some versions
603603
# of GCC. That's probably a bug in the "-pg" implementation.
604-
# After running Vim see the profile result with: gmon vim gmon.out | vim -
604+
# After running Vim see the profile result with: gprof vim gmon.out | vim -
605605
# Need to recompile everything after changing this: "make clean" "make".
606606
#PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING
607607
#PROFILE_LIBS = -pg
@@ -1294,7 +1294,7 @@ ALL_GUI_PRO = gui.pro gui_gtk.pro gui_motif.pro gui_xmdlg.pro gui_athena.pro gu
12941294
### prototype headers are ignored due to -DPROTO, system
12951295
### headers #include <...> are ignored if we use the -MM option, as
12961296
### e.g. provided by gcc-cpp.
1297-
### Include FEAT_GUI to get gependency on gui.h
1297+
### Include FEAT_GUI to get dependency on gui.h
12981298
### Need to change "-I /<path>" to "-isystem /<path>" for GCC 3.x.
12991299
CPP_DEPEND = $(CC) -I$(srcdir) -M$(CPP_MM) \
13001300
`echo "$(DEPEND_CFLAGS)" $(DEPEND_CFLAGS_FILTER)`
@@ -1717,7 +1717,7 @@ CCC = $(CC) -c -I$(srcdir) $(ALL_CFLAGS)
17171717

17181718

17191719
# Link the target for normal use or debugging.
1720-
# A shell script is used to try linking without unneccesary libraries.
1720+
# A shell script is used to try linking without unnecessary libraries.
17211721
$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
17221722
$(CCC) version.c -o objects/version.o
17231723
@LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
@@ -1837,8 +1837,8 @@ types.vim: $(TAGS_SRC) $(TAGS_INCL)
18371837
#
18381838
# This will produce a lot of garbage on your screen, including a few error
18391839
# messages. Don't worry about that.
1840-
# If there is a real error, there will be a difference between "test.out" and
1841-
# a "test99.ok" file.
1840+
# If there is a real error, there will be a difference between "testXX.out" and
1841+
# a "testXX.ok" file.
18421842
# If everything is alright, the final message will be "ALL DONE". If not you
18431843
# get "TEST FAILURE".
18441844
#
@@ -2779,9 +2779,9 @@ bundle-rsrc: os_mac.rsr.hqx
27792779
mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
27802780

27812781
# po/Make_osx.pl says something about generating a Mac message file
2782-
# for Ukrananian. Would somebody using Mac OS X in Ukranian
2782+
# for Ukrainian. Would somebody using Mac OS X in Ukrainian
27832783
# *really* be upset that Carbon Vim was not localised in
2784-
# Ukranian?
2784+
# Ukrainian?
27852785
#
27862786
#bundle-language: bundle-dir po/Make_osx.pl
27872787
# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)

src/VisVim/OleAut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ void COleAutomationControl::ErrDiag ()
654654
}
655655

656656
char Buf[256];
657-
sprintf (Buf, "An OLE error occured:\r\nCode = %s\r\nResult = %lx.",
657+
sprintf (Buf, "An OLE error occurred:\r\nCode = %s\r\nResult = %lx.",
658658
(char*) ErrName, m_hResult);
659659
MessageBox (NULL, Buf, "OLE Error", MB_OK);
660660
}

src/VisVim/README_VisVim.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Troubleshooting
220220
2. Close Visual Studio.
221221
3. Delete VisVim.dll or move it somewhere it can't be found.
222222
4. Run Visual Studio.
223-
5. Tools -> Cursomize ->Add-ins and Macro-Files.
223+
5. Tools -> Customize ->Add-ins and Macro-Files.
224224
6. A message appears:
225225
".../VisVim.dll" "This add-in no longer exists. It will
226226
no longer be displayed."
@@ -298,7 +298,7 @@ P9 Switching to DevStudio using ALT-TAB may get annoying. Would be nice to
298298
P8 Execute :tag command in Vim for word under cursor in DevStudio
299299

300300
P7 Controlling the Visual Studio Debugger from inside Vim
301-
See message above. Also a 'Debug' highligh group and a
301+
See message above. Also a 'Debug' highlight group and a
302302
command to highlight a certain line would be necessary.
303303

304304
P6 Provide an option to open the current file in VisVim in

src/auto/configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -5831,7 +5831,7 @@ else
58315831
/* If this program fails, then RTLD_GLOBAL is needed.
58325832
* RTLD_GLOBAL will be used and then it is not possible to
58335833
* have both python versions enabled in the same vim instance.
5834-
* Only the first pyhton version used will be switched on.
5834+
* Only the first python version used will be switched on.
58355835
*/
58365836
58375837
int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
@@ -5897,7 +5897,7 @@ else
58975897
/* If this program fails, then RTLD_GLOBAL is needed.
58985898
* RTLD_GLOBAL will be used and then it is not possible to
58995899
* have both python versions enabled in the same vim instance.
5900-
* Only the first pyhton version used will be switched on.
5900+
* Only the first python version used will be switched on.
59015901
*/
59025902
59035903
int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
@@ -10593,7 +10593,7 @@ if test "x$vim_cv_tty_group" != "xworld" ; then
1059310593
_ACEOF
1059410594

1059510595
if test "x$vim_cv_tty_mode" = "x" ; then
10596-
as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" "$LINENO" 5
10596+
as_fn_error "It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)" "$LINENO" 5
1059710597
else
1059810598
$as_echo "#define PTYMODE 0620" >>confdefs.h
1059910599

src/buffer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ buflist_getfile(n, lnum, options, forceit)
20052005
* "buf" if one exists */
20062006
if (swb_flags & SWB_USEOPEN)
20072007
wp = buf_jump_open_win(buf);
2008-
/* If 'switchbuf' contians "usetab": jump to first window in any tab
2008+
/* If 'switchbuf' contains "usetab": jump to first window in any tab
20092009
* page containing "buf" if one exists */
20102010
if (wp == NULL && (swb_flags & SWB_USETAB))
20112011
wp = buf_jump_open_tab(buf);

src/configure.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ esac
306306
AC_SUBST(line_break)
307307

308308
if test "$cf_cv_ebcdic" = "yes"; then
309-
dnl If we have EBCDIC we most likley have z/OS Unix, let's test it!
309+
dnl If we have EBCDIC we most likely have z/OS Unix, let's test it!
310310
AC_MSG_CHECKING(for z/OS Unix)
311311
case `uname` in
312312
OS/390) zOSUnix="yes";
@@ -1228,7 +1228,7 @@ if test "$python_ok" = yes && test "$python3_ok" = yes; then
12281228
/* If this program fails, then RTLD_GLOBAL is needed.
12291229
* RTLD_GLOBAL will be used and then it is not possible to
12301230
* have both python versions enabled in the same vim instance.
1231-
* Only the first pyhton version used will be switched on.
1231+
* Only the first python version used will be switched on.
12321232
*/
12331233

12341234
int no_rtl_global_needed_for(char *python_instsoname, char *prefix)
@@ -1274,7 +1274,7 @@ if test "$python_ok" = yes && test "$python3_ok" = yes; then
12741274
/* If this program fails, then RTLD_GLOBAL is needed.
12751275
* RTLD_GLOBAL will be used and then it is not possible to
12761276
* have both python versions enabled in the same vim instance.
1277-
* Only the first pyhton version used will be switched on.
1277+
* Only the first python version used will be switched on.
12781278
*/
12791279

12801280
int no_rtl_global_needed_for(char *python_instsoname, wchar_t *prefix)
@@ -3002,7 +3002,7 @@ rm -f conftest_grp
30023002
if test "x$vim_cv_tty_group" != "xworld" ; then
30033003
AC_DEFINE_UNQUOTED(PTYGROUP,$vim_cv_tty_group)
30043004
if test "x$vim_cv_tty_mode" = "x" ; then
3005-
AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)])
3005+
AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (probably 0620)])
30063006
else
30073007
AC_DEFINE(PTYMODE, 0620)
30083008
fi

src/diff.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ ex_diffsplit(eap)
11101110
}
11111111

11121112
/*
1113-
* Set options to show difs for the current window.
1113+
* Set options to show diffs for the current window.
11141114
*/
11151115
void
11161116
ex_diffthis(eap)

src/dosinst.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ change_openwith_choice(int idx)
16091609

16101610
/*
16111611
* Only add the choice for the open-with menu entry when gvim.exe was found
1612-
* and and regedit.exe exist.
1612+
* and regedit.exe exist.
16131613
*/
16141614
static void
16151615
init_openwith_choice(void)

src/edit.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ edit(cmdchar, startln, count)
14181418

14191419
normalchar:
14201420
/*
1421-
* Insert a nomal character.
1421+
* Insert a normal character.
14221422
*/
14231423
#ifdef FEAT_AUTOCMD
14241424
if (!p_paste)
@@ -7162,7 +7162,7 @@ cursor_up(n, upd_topline)
71627162
/*
71637163
* Count each sequence of folded lines as one logical line.
71647164
*/
7165-
/* go to the the start of the current fold */
7165+
/* go to the start of the current fold */
71667166
(void)hasFolding(lnum, &lnum, NULL);
71677167

71687168
while (n--)
@@ -7213,7 +7213,7 @@ cursor_down(n, upd_topline)
72137213
(void)hasFolding(lnum, NULL, &lnum);
72147214
#endif
72157215
/* This fails if the cursor is already in the last line or would move
7216-
* beyound the last line and '-' is in 'cpoptions' */
7216+
* beyond the last line and '-' is in 'cpoptions' */
72177217
if (lnum >= curbuf->b_ml.ml_line_count
72187218
|| (lnum + n > curbuf->b_ml.ml_line_count
72197219
&& vim_strchr(p_cpo, CPO_MINUS) != NULL))
@@ -7715,7 +7715,7 @@ fix_indent()
77157715
/*
77167716
* return TRUE if 'cinkeys' contains the key "keytyped",
77177717
* when == '*': Only if key is preceded with '*' (indent before insert)
7718-
* when == '!': Only if key is prededed with '!' (don't insert)
7718+
* when == '!': Only if key is preceded with '!' (don't insert)
77197719
* when == ' ': Only if key is not preceded with '*'(indent afterwards)
77207720
*
77217721
* "keytyped" can have a few special values:
@@ -8541,7 +8541,7 @@ ins_start_select(c)
85418541
#endif
85428542

85438543
/*
8544-
* <Insert> key in Insert mode: toggle insert/remplace mode.
8544+
* <Insert> key in Insert mode: toggle insert/replace mode.
85458545
*/
85468546
static void
85478547
ins_insert(replaceState)

src/eval.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16669,7 +16669,7 @@ restore_win(save_curwin, save_curtab)
1666916669
tabpage_T *save_curtab;
1667016670
{
1667116671
#ifdef FEAT_WINDOWS
16672-
/* Restore current tabpage and window, if still valid (autocomands can
16672+
/* Restore current tabpage and window, if still valid (autocommands can
1667316673
* make them invalid). */
1667416674
if (valid_tabpage(save_curtab))
1667516675
goto_tabpage_tp(save_curtab, TRUE);

src/ex_cmds2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2851,7 +2851,7 @@ cmd_source(fname, eap)
28512851
EMSG(_(e_argreq));
28522852

28532853
else if (eap != NULL && eap->forceit)
2854-
/* ":source!": read Normal mdoe commands
2854+
/* ":source!": read Normal mode commands
28552855
* Need to execute the commands directly. This is required at least
28562856
* for:
28572857
* - ":g" command busy

src/ex_docmd.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ do_cmdline(cmdline, fgetline, cookie, flags)
10931093
msg_didany = FALSE; /* no output yet */
10941094
msg_start();
10951095
msg_scroll = TRUE; /* put messages below each other */
1096-
++no_wait_return; /* dont wait for return until finished */
1096+
++no_wait_return; /* don't wait for return until finished */
10971097
++RedrawingDisabled;
10981098
did_inc = TRUE;
10991099
}
@@ -1298,7 +1298,7 @@ do_cmdline(cmdline, fgetline, cookie, flags)
12981298
&& !(did_emsg
12991299
#ifdef FEAT_EVAL
13001300
/* Keep going when inside try/catch, so that the error can be
1301-
* dealth with, except when it is a syntax error, it may cause
1301+
* deal with, except when it is a syntax error, it may cause
13021302
* the :endtry to be missed. */
13031303
&& (cstack.cs_trylevel == 0 || did_emsg_syntax)
13041304
#endif
@@ -10982,7 +10982,7 @@ ses_put_fname(fd, name, flagp)
1098210982
*p = '/';
1098310983
}
1098410984

10985-
/* escapse special characters */
10985+
/* escape special characters */
1098610986
p = vim_strsave_fnameescape(sname, FALSE);
1098710987
vim_free(sname);
1098810988
if (p == NULL)

0 commit comments

Comments
 (0)