diff --git a/doc/filetype.jax b/doc/filetype.jax index 8f7cd08ef..7c55b680d 100644 --- a/doc/filetype.jax +++ b/doc/filetype.jax @@ -1,4 +1,4 @@ -*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Feb 25 +*filetype.txt* For Vim バージョン 9.1. Last change: 2025 Mar 10 VIMリファレンスマニュアル by Bram Moolenaar @@ -764,7 +764,7 @@ MAIL *ft-mail-plugin* 位置からファイル末端までのテキストを引用する。これは全ての行に "> " が 挿入されることを意味している。 -MAN *ft-man-plugin* *:Man* *man.vim* +MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim* このプラグインはマニュアルページを洗練された方法で表示する。ユーザーマニュアル の詳細な情報は |find-manpage| も参照のこと。 @@ -783,6 +783,8 @@ Man {name} {name} についてのマニュアルページを表示する。 Man {number} {name} {number} セクションの {name} についてのマニュアルページを表示 する。 +ManReload |:Man| の引数補完に使われる使用可能なマニュアルページのキャッ + シュを再読み込みする。 グローバルキーマップ: K カーソル下の単語についてのマニュアルページを表示する。 @@ -813,6 +815,14 @@ CTRL-T 直前のマニュアルページへ戻る。 :Man {number} {name} が man {number} {name} のように振る舞い、ページが見つから ない場合に man {name} を実行させたくなければ、これを使用する: > let g:ft_man_no_sect_fallback = 1 +< + *g:ft_man_implementation* +:Man コマンドの補完はシステムがどの man の実装を持っているかを推測しようとす +る。推測が間違っている場合は、g:ft_man_implementation を次のいずれかの値に設定 +できる: + 'man-db' https://man-db.nongnu.org/ + '' 不明。マニュアルページの代わりにシェルコマンドの補完に + フォールバックする。 'keywordprg' を設定して、|K| コマンドを Vim ウィンドウのマニュアルページにもで きる: > @@ -865,6 +875,13 @@ PDF ファイル内をジャンプするため、タグスタックをシミュ これらのマップは次のコマンドで無効化できる > :let g:no_pdf_maps = 1 + +PLSQL *ft-plsql-plugin* + +PL/SQL ファイルタイプでシンタックスの折り畳みを有効にするには、以下の変数を設 +定する: > + + :let g:plsql_fold = 1 < PYTHON *ft-python-plugin* *PEP8* diff --git a/en/filetype.txt b/en/filetype.txt index a2c757fb4..8a7f0c538 100644 --- a/en/filetype.txt +++ b/en/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 9.1. Last change: 2025 Feb 25 +*filetype.txt* For Vim version 9.1. Last change: 2025 Mar 10 VIM REFERENCE MANUAL by Bram Moolenaar @@ -776,7 +776,7 @@ Local mappings: to the end of the file in Normal mode. This means "> " is inserted in each line. -MAN *ft-man-plugin* *:Man* *man.vim* +MAN *ft-man-plugin* *:Man* *:ManReload* *man.vim* This plugin displays a manual page in a nice way. See |find-manpage| in the user manual for more information. @@ -793,6 +793,8 @@ Commands: Man {name} Display the manual page for {name} in a window. Man {number} {name} Display the manual page for {name} in a section {number}. +ManReload Reload the cache of available man pages used for |:Man| argument + completion. Global mapping: K Displays the manual page for the word under the cursor. @@ -823,6 +825,14 @@ desired folding style instead. For example: > If you would like :Man {number} {name} to behave like man {number} {name} by not running man {name} if no page is found, then use this: > let g:ft_man_no_sect_fallback = 1 +< + *g:ft_man_implementation* +The completion for the :Man command tries to guess which implementation of man +the system has. If it guesses wrong, you can set g:ft_man_implementation to +one of these values: + 'man-db' https://man-db.nongnu.org/ + '' Unknown, fall back to completing shell commands + instead of man pages. You may also want to set 'keywordprg' to make the |K| command open a manual page in a Vim window: > @@ -874,6 +884,12 @@ the PDF. The following are treated as tags: These maps can be disabled with > :let g:no_pdf_maps = 1 + +PLSQL *ft-plsql-plugin* + +To enable syntax folding in PL/SQL filetypes, set the following variable: > + + :let g:plsql_fold = 1 < PYTHON *ft-python-plugin* *PEP8*