Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update filetype.{txt,jax} #1982

Merged
merged 1 commit into from
Mar 11, 2025
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: 19 additions & 2 deletions doc/filetype.jax
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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| も参照のこと。
Expand All @@ -783,6 +783,8 @@ Man {name} {name} についてのマニュアルページを表示する。
Man {number} {name}
{number} セクションの {name} についてのマニュアルページを表示
する。
ManReload |:Man| の引数補完に使われる使用可能なマニュアルページのキャッ
シュを再読み込みする。

グローバルキーマップ:
<Leader>K カーソル下の単語についてのマニュアルページを表示する。
Expand Down Expand Up @@ -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 ウィンドウのマニュアルページにもで
きる: >
Expand Down Expand Up @@ -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*
Expand Down
20 changes: 18 additions & 2 deletions en/filetype.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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:
<Leader>K Displays the manual page for the word under the cursor.
Expand Down Expand Up @@ -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: >
Expand Down Expand Up @@ -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*
Expand Down