Skip to content

Commit dbf749b

Browse files
authored
runtime: Fix more typos (#13354)
* Fix more typos * Fix typos in ignored runtime/ directory Signed-off-by: Christian Brabandt <[email protected]>
1 parent f5a94d5 commit dbf749b

31 files changed

Lines changed: 42 additions & 42 deletions

File tree

runtime/autoload/netrw.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ endfun
19611961
" Doing this means that netrw will not come up as having changed a
19621962
" setting last when it really didn't actually change it.
19631963
"
1964-
" Used by s:NetrwOptionsRestore() to restore each netrw-senstive setting
1964+
" Used by s:NetrwOptionsRestore() to restore each netrw-sensitive setting
19651965
" keepvars are set up by s:NetrwOptionsSave
19661966
fun! s:NetrwRestoreSetting(keepvar,setting)
19671967
""" call Dfunc("s:NetrwRestoreSetting(a:keepvar<".a:keepvar."> a:setting<".a:setting.">)")
@@ -5562,7 +5562,7 @@ fun! netrw#BrowseX(fname,remote)
55625562
" cleanup: remove temporary file,
55635563
" delete current buffer if success with handler,
55645564
" return to prior buffer (directory listing)
5565-
" Feb 12, 2008: had to de-activiate removal of
5565+
" Feb 12, 2008: had to de-activate removal of
55665566
" temporary file because it wasn't getting seen.
55675567
" if remote == 1 && fname != a:fname
55685568
"" call Decho("deleting temporary file<".fname.">",'~'.expand("<slnum>"))

runtime/autoload/phpcomplete.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2907,7 +2907,7 @@ endfor
29072907
" builtin class information
29082908
let g:php_builtin_object_functions = {}
29092909

2910-
" When completing for 'everyting imaginable' (no class context, not a
2910+
" When completing for 'everything imaginable' (no class context, not a
29112911
" variable) we need a list of built-in classes in a format of {'classname':''}
29122912
" for performance reasons we precompile this too
29132913
let g:php_builtin_classnames = {}

runtime/autoload/rustfmt.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function! rustfmt#DetectVersion()
2525
silent let s:rustfmt_help = system(g:rustfmt_command . " --help")
2626
let s:rustfmt_unstable_features = s:rustfmt_help =~# "--unstable-features"
2727

28-
" Build a comparable rustfmt version varible out of its `--version` output:
28+
" Build a comparable rustfmt version variable out of its `--version` output:
2929
silent let l:rustfmt_version_full = system(g:rustfmt_command . " --version")
3030
let l:rustfmt_version_list = matchlist(l:rustfmt_version_full,
3131
\ '\vrustfmt ([0-9]+[.][0-9]+[.][0-9]+)')

runtime/autoload/typeset.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ enddef
9797

9898
# Public interface {{{
9999
# When a TeX document is split into several source files, each source file
100-
# may contain a "magic line" specifiying the "root" file, e.g.:
100+
# may contain a "magic line" specifying the "root" file, e.g.:
101101
#
102102
# % !TEX root = main.tex
103103
#

runtime/colors/README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ please check the following items:
111111
- Do not use hard coded escape sequences, these will not work in other
112112
terminals. Always use #RRGGBB for the GUI.
113113

114-
- When targetting 8-16 colors terminals, don't count on "darkblue" to be blue
114+
- When targeting 8-16 colors terminals, don't count on "darkblue" to be blue
115115
and dark, or on "2" to be even vaguely reddish. Names are more portable
116116
than numbers, though.
117117

118-
- When targetting 256 colors terminals, prefer colors 16-255 to colors 0-15
118+
- When targeting 256 colors terminals, prefer colors 16-255 to colors 0-15
119119
for the same reason.
120120

121121
- Typographic attributes (bold, italic, underline, reverse, etc.) are not

runtime/indent/cdl.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ endif
2121

2222
" find out if an "...=..." expression is an assignment (or a conditional)
2323
" it scans 'line' first, and then the previous lines
24-
fun! CdlAsignment(lnum, line)
24+
fun! CdlAssignment(lnum, line)
2525
let f = -1
2626
let lnum = a:lnum
2727
let line = a:line
@@ -90,7 +90,7 @@ fun! CdlGetIndent(lnum)
9090
end
9191
end
9292

93-
" remove members [a] of [b]:[c]... (inicio remainds valid)
93+
" remove members [a] of [b]:[c]... (inicio remains valid)
9494
let line = substitute(line, '\c\(\[[^]]*]\(\s*of\s*\|:\)*\)\+', ' ', 'g')
9595
while 1
9696
" search for the next interesting element
@@ -111,7 +111,7 @@ fun! CdlGetIndent(lnum)
111111
else " c == '='
112112
" if it is an assignment increase indent
113113
if f == -1 " we don't know yet, find out
114-
let f = CdlAsignment(lnum, strpart(line, 0, inicio))
114+
let f = CdlAssignment(lnum, strpart(line, 0, inicio))
115115
end
116116
if f == 1 " formula increase it
117117
let ind = ind + shiftwidth()
@@ -125,7 +125,7 @@ fun! CdlGetIndent(lnum)
125125
let ind = ind - shiftwidth()
126126
elseif match(thisline, '^\s*=') >= 0
127127
if f == -1 " we don't know yet if is an assignment, find out
128-
let f = CdlAsignment(lnum, "")
128+
let f = CdlAssignment(lnum, "")
129129
end
130130
if f == 1 " formula increase it
131131
let ind = ind + shiftwidth()

runtime/indent/erlang.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ function! s:ErlangCalcIndent2(lnum, stack)
13241324
" maybe A else
13251325
" LTI
13261326
"
1327-
" Note about Emacs compabitility {{{
1327+
" Note about Emacs compatibility {{{
13281328
"
13291329
" It would be fine to indent the examples above the following way:
13301330
"

runtime/indent/julia.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ function IsFunctionArgPar(lnum, c)
310310
endfunction
311311

312312
function JumpToMatch(lnum, last_closed_bracket)
313-
" we use the % command to skip back (tries to ues matchit if possible,
313+
" we use the % command to skip back (tries to use matchit if possible,
314314
" otherwise resorts to vim's default, which is buggy but better than
315315
" nothing)
316316
call cursor(a:lnum, a:last_closed_bracket)

runtime/indent/krl.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function GetKrlIndent() abort
4141
let currentLine = getline(v:lnum)
4242
if currentLine =~? '\v^;(\s*(end)?fold>)@!' && !get(g:, 'krlCommentIndent', 0)
4343
" If current line has a ; in column 1 and is no fold, keep zero indent.
44-
" This may be usefull if code is commented out at the first column.
44+
" This may be useful if code is commented out at the first column.
4545
return 0
4646
endif
4747

@@ -117,7 +117,7 @@ function s:KrlPreNoneBlank(lnum) abort
117117
let nPreNoneBlank = prevnonblank(a:lnum)
118118

119119
while nPreNoneBlank > 0 && getline(nPreNoneBlank) =~? '\v^\s*(\&\w\+|;|continue>)'
120-
" Previouse none blank line irrelevant. Look further aback.
120+
" Previous none blank line irrelevant. Look further aback.
121121
let nPreNoneBlank = prevnonblank(nPreNoneBlank - 1)
122122
endwhile
123123

runtime/indent/rapid.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function s:GetRapidIndentIntern() abort
7474

7575
if l:currentLine =~ '^!' && !get(g:,'rapidCommentIndent',0)
7676
" If current line is ! line comment, do not change indent
77-
" This may be usefull if code is commented out at the first column.
77+
" This may be useful if code is commented out at the first column.
7878
return 0
7979
endif
8080

0 commit comments

Comments
 (0)