Skip to content

Commit

Permalink
Merge remote-tracking branch 'vim/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ychin committed Oct 18, 2023
2 parents c368ebb + 96952b2 commit e910841
Show file tree
Hide file tree
Showing 72 changed files with 778 additions and 157 deletions.
4 changes: 2 additions & 2 deletions runtime/autoload/netrw.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ endfun
" Doing this means that netrw will not come up as having changed a
" setting last when it really didn't actually change it.
"
" Used by s:NetrwOptionsRestore() to restore each netrw-senstive setting
" Used by s:NetrwOptionsRestore() to restore each netrw-sensitive setting
" keepvars are set up by s:NetrwOptionsSave
fun! s:NetrwRestoreSetting(keepvar,setting)
""" call Dfunc("s:NetrwRestoreSetting(a:keepvar<".a:keepvar."> a:setting<".a:setting.">)")
Expand Down Expand Up @@ -5562,7 +5562,7 @@ fun! netrw#BrowseX(fname,remote)
" cleanup: remove temporary file,
" delete current buffer if success with handler,
" return to prior buffer (directory listing)
" Feb 12, 2008: had to de-activiate removal of
" Feb 12, 2008: had to de-activate removal of
" temporary file because it wasn't getting seen.
" if remote == 1 && fname != a:fname
"" call Decho("deleting temporary file<".fname.">",'~'.expand("<slnum>"))
Expand Down
2 changes: 1 addition & 1 deletion runtime/autoload/phpcomplete.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2907,7 +2907,7 @@ endfor
" builtin class information
let g:php_builtin_object_functions = {}

" When completing for 'everyting imaginable' (no class context, not a
" When completing for 'everything imaginable' (no class context, not a
" variable) we need a list of built-in classes in a format of {'classname':''}
" for performance reasons we precompile this too
let g:php_builtin_classnames = {}
Expand Down
2 changes: 1 addition & 1 deletion runtime/autoload/rustfmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function! rustfmt#DetectVersion()
silent let s:rustfmt_help = system(g:rustfmt_command . " --help")
let s:rustfmt_unstable_features = s:rustfmt_help =~# "--unstable-features"

" Build a comparable rustfmt version varible out of its `--version` output:
" Build a comparable rustfmt version variable out of its `--version` output:
silent let l:rustfmt_version_full = system(g:rustfmt_command . " --version")
let l:rustfmt_version_list = matchlist(l:rustfmt_version_full,
\ '\vrustfmt ([0-9]+[.][0-9]+[.][0-9]+)')
Expand Down
2 changes: 1 addition & 1 deletion runtime/autoload/typeset.vim
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ enddef

# Public interface {{{
# When a TeX document is split into several source files, each source file
# may contain a "magic line" specifiying the "root" file, e.g.:
# may contain a "magic line" specifying the "root" file, e.g.:
#
# % !TEX root = main.tex
#
Expand Down
4 changes: 2 additions & 2 deletions runtime/colors/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ please check the following items:
- Do not use hard coded escape sequences, these will not work in other
terminals. Always use #RRGGBB for the GUI.

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

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

- Typographic attributes (bold, italic, underline, reverse, etc.) are not
Expand Down
6 changes: 3 additions & 3 deletions runtime/doc/builtin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10143,9 +10143,9 @@ trim({text} [, {mask} [, {dir}]]) *trim()*
Return {text} as a String where any character in {mask} is
removed from the beginning and/or end of {text}.

If {mask} is not given, {mask} is all characters up to 0x20,
which includes Tab, space, NL and CR, plus the non-breaking
space character 0xa0.
If {mask} is not given, or is an empty string, {mask} is all
characters up to 0x20, which includes Tab, space, NL and CR,
plus the non-breaking space character 0xa0.

The optional {dir} argument specifies where to remove the
characters:
Expand Down
4 changes: 2 additions & 2 deletions runtime/doc/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1119,12 +1119,12 @@ commands in wildmenu mode (see 'wildmenu')
<Left> select the previous match / move up to parent
<Right> select the next match / move down to submenu
<CR> move into submenu when doing menu completion
CTRL-E stop completion and go back to original text
CTRL-Y accept selected match and stop completion
other stop completion and insert the typed character

commands in wildmenu mode with 'wildoptions' set to "pum"

CTRL-E stop completion and go back to original text
CTRL-Y accept selected match and stop completion
<PageUp> select a match several entries back
<PageDown> select a match several entries forward

Expand Down
10 changes: 6 additions & 4 deletions runtime/doc/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9397,6 +9397,8 @@ A jump table for the options with a short description can be found at |Q_op|.
The character is not recognized when used inside a macro. See
'wildcharm' for that.
Some keys will not work, such as CTRL-C, <CR> and Enter.
<Esc> can be used, but hitting it twice in a row will still exit
command-line as a failsafe measure.
Although 'wc' is a number option, you can set it to a special key: >
:set wc=<Tab>
< NOTE: This option is set to the Vi default value when 'compatible' is
Expand Down Expand Up @@ -9465,6 +9467,10 @@ A jump table for the options with a short description can be found at |Q_op|.
CTRL-N - go to the next entry
<CR> - in menu completion, when the cursor is just after a
dot: move into a submenu.
CTRL-E - end completion, go back to what was there before
selecting a match.
CTRL-Y - accept the currently selected match and stop
completion.

When not using the popup menu for command line completion, the
following keys have special meanings:
Expand All @@ -9483,10 +9489,6 @@ A jump table for the options with a short description can be found at |Q_op|.
parent directory or parent menu.
<Right> - in filename/menu name completion: move into a
subdirectory or submenu.
CTRL-E - end completion, go back to what was there before
selecting a match.
CTRL-Y - accept the currently selected match and stop
completion.

This makes the menus accessible from the console |console-menus|.

Expand Down
4 changes: 2 additions & 2 deletions runtime/doc/starting.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*starting.txt* For Vim version 9.0. Last change: 2023 May 30
*starting.txt* For Vim version 9.0. Last change: 2023 Oct 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -348,7 +348,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
Start logging and write entries to {filename}.
This works like calling `ch_logfile({filename}, 'ao')` very
early during startup.
{only available with the |+eval| feature}
{only available with the |+eval| and |+channel| feature}

*-D*
-D Debugging. Go to debugging mode when executing the first
Expand Down
8 changes: 4 additions & 4 deletions runtime/indent/cdl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ endif

" find out if an "...=..." expression is an assignment (or a conditional)
" it scans 'line' first, and then the previous lines
fun! CdlAsignment(lnum, line)
fun! CdlAssignment(lnum, line)
let f = -1
let lnum = a:lnum
let line = a:line
Expand Down Expand Up @@ -90,7 +90,7 @@ fun! CdlGetIndent(lnum)
end
end

" remove members [a] of [b]:[c]... (inicio remainds valid)
" remove members [a] of [b]:[c]... (inicio remains valid)
let line = substitute(line, '\c\(\[[^]]*]\(\s*of\s*\|:\)*\)\+', ' ', 'g')
while 1
" search for the next interesting element
Expand All @@ -111,7 +111,7 @@ fun! CdlGetIndent(lnum)
else " c == '='
" if it is an assignment increase indent
if f == -1 " we don't know yet, find out
let f = CdlAsignment(lnum, strpart(line, 0, inicio))
let f = CdlAssignment(lnum, strpart(line, 0, inicio))
end
if f == 1 " formula increase it
let ind = ind + shiftwidth()
Expand All @@ -125,7 +125,7 @@ fun! CdlGetIndent(lnum)
let ind = ind - shiftwidth()
elseif match(thisline, '^\s*=') >= 0
if f == -1 " we don't know yet if is an assignment, find out
let f = CdlAsignment(lnum, "")
let f = CdlAssignment(lnum, "")
end
if f == 1 " formula increase it
let ind = ind + shiftwidth()
Expand Down
2 changes: 1 addition & 1 deletion runtime/indent/erlang.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ function! s:ErlangCalcIndent2(lnum, stack)
" maybe A else
" LTI
"
" Note about Emacs compabitility {{{
" Note about Emacs compatibility {{{
"
" It would be fine to indent the examples above the following way:
"
Expand Down
2 changes: 1 addition & 1 deletion runtime/indent/julia.vim
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function IsFunctionArgPar(lnum, c)
endfunction

function JumpToMatch(lnum, last_closed_bracket)
" we use the % command to skip back (tries to ues matchit if possible,
" we use the % command to skip back (tries to use matchit if possible,
" otherwise resorts to vim's default, which is buggy but better than
" nothing)
call cursor(a:lnum, a:last_closed_bracket)
Expand Down
4 changes: 2 additions & 2 deletions runtime/indent/krl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function GetKrlIndent() abort
let currentLine = getline(v:lnum)
if currentLine =~? '\v^;(\s*(end)?fold>)@!' && !get(g:, 'krlCommentIndent', 0)
" If current line has a ; in column 1 and is no fold, keep zero indent.
" This may be usefull if code is commented out at the first column.
" This may be useful if code is commented out at the first column.
return 0
endif

Expand Down Expand Up @@ -117,7 +117,7 @@ function s:KrlPreNoneBlank(lnum) abort
let nPreNoneBlank = prevnonblank(a:lnum)

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

Expand Down
2 changes: 1 addition & 1 deletion runtime/indent/rapid.vim
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function s:GetRapidIndentIntern() abort

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

Expand Down
4 changes: 2 additions & 2 deletions runtime/indent/systemverilog.vim
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ function SystemVerilogIndent()
" Multiple-line comment count
if curr_line =~ '^\s*/\*' && curr_line !~ '/\*.\{-}\*/'
let s:multiple_comment += 1
if vverb | echom vverb_str "Start of multiple-line commnt" | endif
if vverb | echom vverb_str "Start of multiple-line comment" | endif
elseif curr_line =~ '\*/\s*$' && curr_line !~ '/\*.\{-}\*/'
let s:multiple_comment -= 1
if vverb | echom vverb_str "End of multiple-line commnt" | endif
if vverb | echom vverb_str "End of multiple-line comment" | endif
return ind
endif
" Maintain indentation during commenting.
Expand Down
2 changes: 1 addition & 1 deletion runtime/keymap/greek_utf-8.vim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
" without having to combine them with letters (usufull for grammarians
" in particular) (especially for dasia and psiln we use ' for psili
" (that is apostrophe) and ;' for dasia. This is done in order to
" preserve the posibility to write a plain < or >.
" preserve the possibility to write a plain < or >.

" Ypogegrammeni is | following the character (the originally proposed
" i after the character is problematic: can't write easily ai or vi) :
Expand Down
2 changes: 1 addition & 1 deletion runtime/macros/maze/maze_mac
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ map I G$?. ^GYKeDP0S2Gl
" into the Macro register
" GVJ - on bottom line, create a command to restore the current character
" 0H - and save the command into the second Macro register
" `a@r - go back to the current position and exectute the macro to restore
" `a@r - go back to the current position and execute the macro to restore
" the current character
" @m - execute the action associated with this state
" U - and repeat
Expand Down
2 changes: 1 addition & 1 deletion runtime/macros/urm/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ in vim: :so urm.vim<RETURN>
in vim: * (to load the registers and boot the URM-machine :-)
in vim: g (for 'go') and watch the fun. Per default, 3 and 4
are multiplied. Watch the Program counter, it is
visible as a komma moving around.
visible as a comma moving around.

This is a "standard URM" (Universal register machine) interpreter. The URM
concept is used in theoretical computer science to aid in theorem proving.
Expand Down
4 changes: 2 additions & 2 deletions runtime/makemenu.vim
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ SynMenu AB.Assembly.PIC:pic
SynMenu AB.Assembly.Turbo:tasm
SynMenu AB.Assembly.VAX\ Macro\ Assembly:vmasm
SynMenu AB.Assembly.Z-80:z8a
SynMenu AB.Assembly.xa\ 6502\ cross\ assember:a65
SynMenu AB.Assembly.xa\ 6502\ cross\ assembler:a65
SynMenu AB.ASN\.1:asn
SynMenu AB.Asterisk\ config:asterisk
SynMenu AB.Asterisk\ voicemail\ config:asteriskvm
Expand Down Expand Up @@ -327,7 +327,7 @@ SynMenu HIJK.Kivy:kivy
SynMenu HIJK.KixTart:kix

SynMenu L.Lace:lace
SynMenu L.LamdaProlog:lprolog
SynMenu L.LambdaProlog:lprolog
SynMenu L.Latte:latte
SynMenu L.Ld\ script:ld
SynMenu L.LDAP.LDIF:ldif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
" autoload/editorconfig_core/ini.vim: Config-file parser for
" editorconfig-core-vimscript and editorconfig-vim.
" Modifed from the Python core's ini.py.
" Modified from the Python core's ini.py.

" Copyright (c) 2012-2019 EditorConfig Team {{{2
" All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ func s:Run(args)
call s:SendResumingCommand('-exec-run')
endfunc

" :Frame - go to a specfic frame in the stack
" :Frame - go to a specific frame in the stack
func s:Frame(arg)
" Note: we explicit do not use mi's command
" call s:SendCommand('-stack-select-frame "' . a:arg .'"')
Expand Down
4 changes: 2 additions & 2 deletions runtime/synmenu.vim
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ an 50.10.440 &Syntax.AB.Assembly.PIC :cal SetSyn("pic")<CR>
an 50.10.450 &Syntax.AB.Assembly.Turbo :cal SetSyn("tasm")<CR>
an 50.10.460 &Syntax.AB.Assembly.VAX\ Macro\ Assembly :cal SetSyn("vmasm")<CR>
an 50.10.470 &Syntax.AB.Assembly.Z-80 :cal SetSyn("z8a")<CR>
an 50.10.480 &Syntax.AB.Assembly.xa\ 6502\ cross\ assember :cal SetSyn("a65")<CR>
an 50.10.480 &Syntax.AB.Assembly.xa\ 6502\ cross\ assembler :cal SetSyn("a65")<CR>
an 50.10.490 &Syntax.AB.ASN\.1 :cal SetSyn("asn")<CR>
an 50.10.500 &Syntax.AB.Asterisk\ config :cal SetSyn("asterisk")<CR>
an 50.10.510 &Syntax.AB.Asterisk\ voicemail\ config :cal SetSyn("asteriskvm")<CR>
Expand Down Expand Up @@ -303,7 +303,7 @@ an 50.50.710 &Syntax.HIJK.Kimwitu++ :cal SetSyn("kwt")<CR>
an 50.50.720 &Syntax.HIJK.Kivy :cal SetSyn("kivy")<CR>
an 50.50.730 &Syntax.HIJK.KixTart :cal SetSyn("kix")<CR>
an 50.60.100 &Syntax.L.Lace :cal SetSyn("lace")<CR>
an 50.60.110 &Syntax.L.LamdaProlog :cal SetSyn("lprolog")<CR>
an 50.60.110 &Syntax.L.LambdaProlog :cal SetSyn("lprolog")<CR>
an 50.60.120 &Syntax.L.Latte :cal SetSyn("latte")<CR>
an 50.60.130 &Syntax.L.Ld\ script :cal SetSyn("ld")<CR>
an 50.60.140 &Syntax.L.LDAP.LDIF :cal SetSyn("ldif")<CR>
Expand Down
2 changes: 1 addition & 1 deletion runtime/syntax/abap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ syn keyword abapStatement TABLES TIMES TRANSFER TRANSLATE TRY TYPE TYPES
syn keyword abapStatement UNASSIGN ULINE UNPACK UPDATE
syn keyword abapStatement WHEN WHILE WINDOW WRITE

" More statemets
" More statements
syn keyword abapStatement LINES
syn keyword abapStatement INTO GROUP BY HAVING ORDER BY SINGLE
syn keyword abapStatement APPENDING CORRESPONDING FIELDS OF TABLE
Expand Down
4 changes: 2 additions & 2 deletions runtime/syntax/asm68k.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
" Last change: 2001 May 01
"
" This is incomplete. In particular, support for 68020 and
" up and 68851/68881 co-processors is partial or non-existant.
" up and 68851/68881 co-processors is partial or non-existent.
" Feel free to contribute...
"

Expand Down Expand Up @@ -220,7 +220,7 @@ syn match asm68kOperator "<>" " inequality
syn match asm68kOperator "=" " must be before other ops containing '='
syn match asm68kOperator ">="
syn match asm68kOperator "<="
syn match asm68kOperator "==" " operand existance - used in macro definitions
syn match asm68kOperator "==" " operand existence - used in macro definitions

" Condition code style operators
syn match asm68kOperator "<[CV][CS]>"
Expand Down
2 changes: 1 addition & 1 deletion runtime/syntax/chill.vim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ syn keyword chillLogical NOT not
syn keyword chillRepeat while WHILE for FOR do DO od OD TO to
syn keyword chillProcess START start STACKSIZE stacksize PRIORITY priority THIS this STOP stop
syn keyword chillBlock PROC proc PROCESS process
syn keyword chillSignal RECEIVE receive SEND send NONPERSISTENT nonpersistent PERSISTENT peristent SET set EVER ever
syn keyword chillSignal RECEIVE receive SEND send NONPERSISTENT nonpersistent PERSISTENT persistent SET set EVER ever

syn keyword chillTodo contained TODO FIXME XXX

Expand Down
2 changes: 1 addition & 1 deletion runtime/syntax/debcontrol.vim
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ syn iskeyword @,48-57,-
" Everything that is not explicitly matched by the rules below
syn match debcontrolElse "^.*$"

" Common seperators
" Common separators
syn match debControlComma ",[ \t]*"
syn match debControlSpace "[ \t]"

Expand Down
Loading

0 comments on commit e910841

Please sign in to comment.