Skip to content

Commit 06161ea

Browse files
committed
Update terminal.{txt,jax}
1 parent c478eeb commit 06161ea

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

doc/terminal.jax

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10
1+
*terminal.txt* For Vim バージョン 9.1. Last change: 2024 Nov 19
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1710,4 +1710,23 @@ Vimによってサイズ変更できない場合に便利である。
17101710
let g:termdebug_config['evaluate_in_popup'] = v:false
17111711
endfunc
17121712
<
1713+
1714+
コントリビュートする ~
1715+
*termdebug_contributing*
1716+
termdebug の改善への貢献は大歓迎である。
1717+
ただし、開発プロセス中に作業を支援するために `echo` ステートメント (または同様
1718+
のもの) のようなメカニズムが必要になることはよくあることだ。
1719+
このため、以下が設定できる: >
1720+
let g:termdebug_config['debug'] = true
1721+
<
1722+
これにより、ソースコード内で使用できる `DEBUG` 変数が `true` に設定される。使
1723+
用例を以下に示す: >
1724+
if exists('g:termdebug_loaded')
1725+
if DEBUG
1726+
Echoerr('Termdebug already loaded.')
1727+
endif
1728+
finish
1729+
endif
1730+
<
1731+
17131732
vim:tw=78:ts=8:noet:ft=help:norl:

en/terminal.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*terminal.txt* For Vim version 9.1. Last change: 2024 Nov 10
1+
*terminal.txt* For Vim version 9.1. Last change: 2024 Nov 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1737,4 +1737,23 @@ This can also be used in a "one-shot" manner: >
17371737
let g:termdebug_config['evaluate_in_popup'] = v:false
17381738
endfunc
17391739
<
1740+
1741+
Contributing ~
1742+
*termdebug_contributing*
1743+
Contributions for termdebug improvements are welcome.
1744+
However, it is fairly common that during the development process you need some
1745+
mechanisms like `echo` statements (or similar) to help you in your job.
1746+
For this reason, you can set: >
1747+
let g:termdebug_config['debug'] = true
1748+
<
1749+
This sets the `DEBUG` variable to `true` in the source code that you can use
1750+
within the source code. An example of its usage follows: >
1751+
if exists('g:termdebug_loaded')
1752+
if DEBUG
1753+
Echoerr('Termdebug already loaded.')
1754+
endif
1755+
finish
1756+
endif
1757+
<
1758+
17401759
vim:tw=78:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)