vim-patch:921bde888046 (#18511)

Update runtime files, translations
921bde8880

skip: translations
skip: builtin.txt (requires 8.2.4861)
This commit is contained in:
Christian Clason 2022-05-10 10:55:33 +02:00 committed by GitHub
parent 5359be7893
commit e50b1fe60d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -2800,7 +2800,7 @@ getcmdcompltype() *getcmdcompltype()*
Return the type of the current command-line completion. Return the type of the current command-line completion.
Only works when the command line is being edited, thus Only works when the command line is being edited, thus
requires use of |c_CTRL-\_e| or |c_CTRL-R_=|. requires use of |c_CTRL-\_e| or |c_CTRL-R_=|.
See |command-completion| for the return string. See |:command-completion| for the return string.
Also see |getcmdtype()|, |setcmdpos()| and |getcmdline()|. Also see |getcmdtype()|, |setcmdpos()| and |getcmdline()|.
Returns an empty string when completion is not defined. Returns an empty string when completion is not defined.

View File

@ -105,7 +105,7 @@ modes.
command applies. command applies.
Use the <buffer> argument to remove buffer-local Use the <buffer> argument to remove buffer-local
mappings |:map-<buffer>| mappings |:map-<buffer>|
Warning: This also removes the default mappings. Warning: This also removes the |default-mappings|.
:map |mapmode-nvo| :map |mapmode-nvo|
:nm[ap] |mapmode-n| :nm[ap] |mapmode-n|

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Abaqus finite element input file (www.abaqus.com) " Language: Abaqus finite element input file (www.abaqus.com)
" Maintainer: Carl Osterwisch <osterwischc@asme.org> " Maintainer: Carl Osterwisch <osterwischc@asme.org>
" Last Change: 2012 Apr 30 " Last Change: 2022 May 09
" Only do this when not done yet for this buffer " Only do this when not done yet for this buffer
if exists("b:did_ftplugin") | finish | endif if exists("b:did_ftplugin") | finish | endif
@ -86,11 +86,11 @@ let b:undo_ftplugin .= "|unmap <buffer> [[|unmap <buffer> ]]"
\ . "|unmap <buffer> <LocalLeader><LocalLeader>" \ . "|unmap <buffer> <LocalLeader><LocalLeader>"
" Undo must be done in nocompatible mode for <LocalLeader>. " Undo must be done in nocompatible mode for <LocalLeader>.
let b:undo_ftplugin = "let s:cpo_save = &cpoptions|" let b:undo_ftplugin = "let b:cpo_save = &cpoptions|"
\ . "set cpoptions&vim|" \ . "set cpoptions&vim|"
\ . b:undo_ftplugin \ . b:undo_ftplugin
\ . "|let &cpoptions = s:cpo_save" \ . "|let &cpoptions = b:cpo_save"
\ . "|unlet s:cpo_save" \ . "|unlet b:cpo_save"
" Restore saved compatibility options " Restore saved compatibility options
let &cpoptions = s:cpo_save let &cpoptions = s:cpo_save

View File

@ -2,7 +2,7 @@
" "
" Author: Bram Moolenaar " Author: Bram Moolenaar
" Copyright: Vim license applies, see ":help license" " Copyright: Vim license applies, see ":help license"
" Last Change: 2022 May 04 " Last Change: 2022 May 09
" "
" WORK IN PROGRESS - The basics works stable, more to come " WORK IN PROGRESS - The basics works stable, more to come
" Note: In general you need at least GDB 7.12 because this provides the " Note: In general you need at least GDB 7.12 because this provides the
@ -205,8 +205,8 @@ func s:CheckGdbRunning()
return 'ok' return 'ok'
endfunc endfunc
func s:StartDebug_term(dict)
" Open a terminal window without a job, to run the debugged program in. " Open a terminal window without a job, to run the debugged program in.
func s:StartDebug_term(dict)
execute s:vertical ? 'vnew' : 'new' execute s:vertical ? 'vnew' : 'new'
let s:pty_job_id = termopen('tail -f /dev/null;#gdb program') let s:pty_job_id = termopen('tail -f /dev/null;#gdb program')
if s:pty_job_id == 0 if s:pty_job_id == 0
@ -365,8 +365,8 @@ func s:StartDebug_term(dict)
call s:StartDebugCommon(a:dict) call s:StartDebugCommon(a:dict)
endfunc endfunc
func s:StartDebug_prompt(dict)
" Open a window with a prompt buffer to run gdb in. " Open a window with a prompt buffer to run gdb in.
func s:StartDebug_prompt(dict)
if s:vertical if s:vertical
vertical new vertical new
else else