runtime(doc): fix inconsistent indent (#14089)
Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1025,17 +1025,17 @@ This can be used to pass the current directory from a shell to Vim.
|
||||
Put this in your .vimrc: >
|
||||
def g:Tapi_lcd(_, path: string)
|
||||
if isdirectory(path)
|
||||
execute 'silent lcd ' .. fnameescape(path)
|
||||
endif
|
||||
execute 'silent lcd ' .. fnameescape(path)
|
||||
endif
|
||||
enddef
|
||||
<
|
||||
And, in a bash init file: >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
PROMPT_COMMAND='_vim_sync_PWD'
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]51;["call", "Tapi_lcd", "%q"]\007' "$PWD"
|
||||
}
|
||||
fi
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
PROMPT_COMMAND='_vim_sync_PWD'
|
||||
function _vim_sync_PWD() {
|
||||
printf '\033]51;["call", "Tapi_lcd", "%q"]\007' "$PWD"
|
||||
}
|
||||
fi
|
||||
<
|
||||
Or, for zsh: >
|
||||
if [[ -n "$VIM_TERMINAL" ]]; then
|
||||
@ -1403,8 +1403,8 @@ Other commands ~
|
||||
*:Asm* jump to the window with the disassembly, create it if there
|
||||
isn't one
|
||||
*:Var* jump to the window with the local and argument variables,
|
||||
create it if there isn't one. This window updates whenever the
|
||||
program is stopped
|
||||
create it if there isn't one. This window updates whenever the
|
||||
program is stopped
|
||||
|
||||
Events ~
|
||||
*termdebug-events*
|
||||
|
||||
Reference in New Issue
Block a user