Skip to content

Commit

Permalink
Merge pull request #1839 from h-east/update-terminal
Browse files Browse the repository at this point in the history
Update terminal.{txt,jax}
  • Loading branch information
h-east authored Nov 22, 2024
2 parents fed4922 + 06161ea commit 88fe169
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
21 changes: 20 additions & 1 deletion doc/terminal.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Nov 19


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1710,4 +1710,23 @@ Vimによってサイズ変更できない場合に便利である。
let g:termdebug_config['evaluate_in_popup'] = v:false
endfunc
<

コントリビュートする ~
*termdebug_contributing*
termdebug の改善への貢献は大歓迎である。
ただし、開発プロセス中に作業を支援するために `echo` ステートメント (または同様
のもの) のようなメカニズムが必要になることはよくあることだ。
このため、以下が設定できる: >
let g:termdebug_config['debug'] = true
<
これにより、ソースコード内で使用できる `DEBUG` 変数が `true` に設定される。使
用例を以下に示す: >
if exists('g:termdebug_loaded')
if DEBUG
Echoerr('Termdebug already loaded.')
endif
finish
endif
<

vim:tw=78:ts=8:noet:ft=help:norl:
21 changes: 20 additions & 1 deletion en/terminal.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*terminal.txt* For Vim version 9.1. Last change: 2024 Nov 10
*terminal.txt* For Vim version 9.1. Last change: 2024 Nov 19


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1737,4 +1737,23 @@ This can also be used in a "one-shot" manner: >
let g:termdebug_config['evaluate_in_popup'] = v:false
endfunc
<

Contributing ~
*termdebug_contributing*
Contributions for termdebug improvements are welcome.
However, it is fairly common that during the development process you need some
mechanisms like `echo` statements (or similar) to help you in your job.
For this reason, you can set: >
let g:termdebug_config['debug'] = true
<
This sets the `DEBUG` variable to `true` in the source code that you can use
within the source code. An example of its usage follows: >
if exists('g:termdebug_loaded')
if DEBUG
Echoerr('Termdebug already loaded.')
endif
finish
endif
<

vim:tw=78:ts=8:noet:ft=help:norl:

0 comments on commit 88fe169

Please sign in to comment.