aboutsummaryrefslogtreecommitdiff
path: root/runtime/pack/dist/opt/termdebug/plugin
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-11 14:14:17 +0100
committerGitHub <noreply@github.com>2022-01-11 14:14:17 +0100
commite866da12eeae1e5521abd89a94a7f7c9595a75c3 (patch)
tree3ea2d88dd62d09b6b5962c40cf61be2c771444cb /runtime/pack/dist/opt/termdebug/plugin
parent25eb7692d8e29cc83a70d74cbe1a8a1fae1f8ba2 (diff)
downloadrneovim-e866da12eeae1e5521abd89a94a7f7c9595a75c3.tar.gz
rneovim-e866da12eeae1e5521abd89a94a7f7c9595a75c3.tar.bz2
rneovim-e866da12eeae1e5521abd89a94a7f7c9595a75c3.zip
vim-patch:2f0936cb9a2e (#17007)
* vim-patch:2f0936cb9a2e Update runtime files https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b
Diffstat (limited to 'runtime/pack/dist/opt/termdebug/plugin')
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
index f9978a6b00..c881133b72 100644
--- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
+++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim
@@ -153,7 +153,7 @@ func s:StartDebug_internal(dict)
if &columns < g:termdebug_wide
let s:save_columns = &columns
let &columns = g:termdebug_wide
- " If we make the Vim window wider, use the whole left halve for the debug
+ " If we make the Vim window wider, use the whole left half for the debug
" windows.
let s:allleft = 1
endif
@@ -1051,10 +1051,10 @@ func s:GetEvaluationExpression(range, arg)
return expr
endfunc
-" clean up expression that may got in because of range
+" clean up expression that may get in because of range
" (newlines and surrounding whitespace)
" As it can also be specified via ex-command for assignments this function
-" may not change the "content" parts (like replacing contained spaces
+" may not change the "content" parts (like replacing contained spaces)
func s:CleanupExpr(expr)
" replace all embedded newlines/tabs/...
let expr = substitute(a:expr, '\_s', ' ', 'g')
@@ -1084,7 +1084,7 @@ func s:HandleEvaluate(msg)
\ ->substitute('.*value="\(.*\)"', '\1', '')
\ ->substitute('\\"', '"', 'g')
\ ->substitute('\\\\', '\\', 'g')
- "\ multi-byte characters arrive in octal form, replace everthing but NULL values
+ "\ multi-byte characters arrive in octal form, replace everything but NULL values
\ ->substitute('\\000', s:NullRepl, 'g')
\ ->substitute('\\\o\o\o', {-> eval('"' .. submatch(0) .. '"')}, 'g')
"\ Note: GDB docs also mention hex encodings - the translations below work