Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: >
Comment on lines +1749 to +1750
Copy link
Member Author

@h-east h-east Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

質問: the source code が2回出てくるの冗長な気がします。直すとしたら以下のような感じ?

This sets the `DEBUG` variable to `true`, which can be referenced in the source code.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo報告スレにpatched.

if exists('g:termdebug_loaded')
if DEBUG
Echoerr('Termdebug already loaded.')
endif
finish
endif
<

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