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
16 changes: 10 additions & 6 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: 2024 Nov 14
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Dec 04


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -625,7 +625,7 @@ GDSCRIPT *ft-gdscript-plugin*
let g:gdscript_recommended_style = 0


GIT COMMIT *ft-gitcommit-plugin*
GIT COMMIT *ft-gitcommit-plugin*

現在のコミットの差分をプレビューウィンドウに表示する :DiffGitCached というコマ
ンドが提供されている。このコマンドを実行すると、その引数をつけて "git diff
Expand Down Expand Up @@ -721,7 +721,6 @@ Markdown コメントの認識を有効にするには、`8.2.1397` 以降のバ
は "javaformat.vim" を手動で再読込みすることを忘れないこと: >
runtime autoload/javaformat.vim
<

JSON-FORMAT *ft-json-plugin*

JSON ファイルタイプは、JSON のフォーマッティング (|gq| を使用) に 'formatexpr'
Expand All @@ -733,6 +732,11 @@ JSON ファイルタイプは、JSON のフォーマッティング (|gq| を使
import autoload 'dist/json.vim'
setl formatexpr=json.FormatExpr()

LUA *ft-lua-plugin*

|fold-expr| を使用して Lua 関数の折り畳みを有効にするには: >

let g:lua_folding = 1

MAIL *ft-mail-plugin*

Expand Down Expand Up @@ -806,7 +810,7 @@ CTRL-T 直前のマニュアルページへ戻る。
set keywordprg=:Man


MANPAGER *manpager.vim*
MANPAGER *manpager.vim*

|:Man| コマンドを使うと、Vim をマンページにできる(その構文はマンページをハイラ
イト表示し、CTRL-] でヒットしたリンク先のマンページをたどる)。
Expand All @@ -825,7 +829,7 @@ fish の場合、設定ファイルに以下の設定を追加する。
set -x MANPAGER "vim +MANPAGER --not-a-term -"


MARKDOWN *ft-markdown-plugin*
MARKDOWN *ft-markdown-plugin*

折り畳みを有効にするには、次のようにする: >
let g:markdown_folding = 1
Expand Down Expand Up @@ -905,7 +909,7 @@ RESTRUCTUREDTEXT *ft-rst-plugin*
let g:rst_style = 1


RNOWEB *ft-rnoweb-plugin*
RNOWEB *ft-rnoweb-plugin*

'formatexpr' オプションは、R コードと LaTeX コードに対して異なる値で動的に設定
される。'formatexpr' を設定しないことを希望する場合は、|vimrc| に以下を追加す
Expand Down
16 changes: 10 additions & 6 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: 2024 Nov 14
*filetype.txt* For Vim version 9.1. Last change: 2024 Dec 04


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -634,7 +634,7 @@ To disable this behavior, set the following variable in your vimrc: >
let g:gdscript_recommended_style = 0


GIT COMMIT *ft-gitcommit-plugin*
GIT COMMIT *ft-gitcommit-plugin*

One command, :DiffGitCached, is provided to show a diff of the current commit
in the preview window. It is equivalent to calling "git diff --cached" plus
Expand Down Expand Up @@ -733,7 +733,6 @@ To enable the recognition of Markdown comments each time after removing
re-source "javaformat.vim" for Vim versions greater than `8.2.1397`: >
runtime autoload/javaformat.vim
<

JSON-FORMAT *ft-json-plugin*

JSON filetype can be extended to use 'formatexpr' and "json.FormatExpr()"
Expand All @@ -745,6 +744,11 @@ Add following lines to $HOME/.vim/ftplugin/json.vim: >
import autoload 'dist/json.vim'
setl formatexpr=json.FormatExpr()

LUA *ft-lua-plugin*

You can enable folding of Lua functions using |fold-expr| by: >

let g:lua_folding = 1

MAIL *ft-mail-plugin*

Expand Down Expand Up @@ -816,7 +820,7 @@ page in a Vim window: >
set keywordprg=:Man


MANPAGER *manpager.vim*
MANPAGER *manpager.vim*

The |:Man| command allows you to turn Vim into a manpager (that syntax
highlights manpages and follows linked manpages on hitting CTRL-]).
Expand All @@ -834,7 +838,7 @@ For fish, add to the config file
set -x MANPAGER "vim +MANPAGER --not-a-term -"


MARKDOWN *ft-markdown-plugin*
MARKDOWN *ft-markdown-plugin*

To enable folding use this: >
let g:markdown_folding = 1
Expand Down Expand Up @@ -913,7 +917,7 @@ To enable this behavior, set the following variable in your vimrc: >
let g:rst_style = 1


RNOWEB *ft-rnoweb-plugin*
RNOWEB *ft-rnoweb-plugin*

The 'formatexpr' option is set dynamically with different values for R code
and for LaTeX code. If you prefer that 'formatexpr' is not set, add to your
Expand Down
Loading