Skip to content

Commit a99e13a

Browse files
authored
Merge pull request #1858 from h-east/update-filetype
Update filetype.{txt,jax}
2 parents bed8e45 + 8fa4f35 commit a99e13a

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

doc/filetype.jax

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Nov 14
1+
*filetype.txt* For Vim バージョン 9.1. Last change: 2024 Dec 04
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -625,7 +625,7 @@ GDSCRIPT *ft-gdscript-plugin*
625625
let g:gdscript_recommended_style = 0
626626
627627
628-
GIT COMMIT *ft-gitcommit-plugin*
628+
GIT COMMIT *ft-gitcommit-plugin*
629629

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

727726
JSON ファイルタイプは、JSON のフォーマッティング (|gq| を使用) に 'formatexpr'
@@ -733,6 +732,11 @@ JSON ファイルタイプは、JSON のフォーマッティング (|gq| を使
733732
import autoload 'dist/json.vim'
734733
setl formatexpr=json.FormatExpr()
735734
735+
LUA *ft-lua-plugin*
736+
737+
|fold-expr| を使用して Lua 関数の折り畳みを有効にするには: >
738+
739+
let g:lua_folding = 1
736740
737741
MAIL *ft-mail-plugin*
738742

@@ -806,7 +810,7 @@ CTRL-T 直前のマニュアルページへ戻る。
806810
set keywordprg=:Man
807811
808812
809-
MANPAGER *manpager.vim*
813+
MANPAGER *manpager.vim*
810814

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

827831

828-
MARKDOWN *ft-markdown-plugin*
832+
MARKDOWN *ft-markdown-plugin*
829833

830834
折り畳みを有効にするには、次のようにする: >
831835
let g:markdown_folding = 1
@@ -905,7 +909,7 @@ RESTRUCTUREDTEXT *ft-rst-plugin*
905909
let g:rst_style = 1
906910
907911
908-
RNOWEB *ft-rnoweb-plugin*
912+
RNOWEB *ft-rnoweb-plugin*
909913

910914
'formatexpr' オプションは、R コードと LaTeX コードに対して異なる値で動的に設定
911915
される。'formatexpr' を設定しないことを希望する場合は、|vimrc| に以下を追加す

en/filetype.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 9.1. Last change: 2024 Nov 14
1+
*filetype.txt* For Vim version 9.1. Last change: 2024 Dec 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -634,7 +634,7 @@ To disable this behavior, set the following variable in your vimrc: >
634634
let g:gdscript_recommended_style = 0
635635
636636
637-
GIT COMMIT *ft-gitcommit-plugin*
637+
GIT COMMIT *ft-gitcommit-plugin*
638638

639639
One command, :DiffGitCached, is provided to show a diff of the current commit
640640
in the preview window. It is equivalent to calling "git diff --cached" plus
@@ -733,7 +733,6 @@ To enable the recognition of Markdown comments each time after removing
733733
re-source "javaformat.vim" for Vim versions greater than `8.2.1397`: >
734734
runtime autoload/javaformat.vim
735735
<
736-
737736
JSON-FORMAT *ft-json-plugin*
738737

739738
JSON filetype can be extended to use 'formatexpr' and "json.FormatExpr()"
@@ -745,6 +744,11 @@ Add following lines to $HOME/.vim/ftplugin/json.vim: >
745744
import autoload 'dist/json.vim'
746745
setl formatexpr=json.FormatExpr()
747746
747+
LUA *ft-lua-plugin*
748+
749+
You can enable folding of Lua functions using |fold-expr| by: >
750+
751+
let g:lua_folding = 1
748752
749753
MAIL *ft-mail-plugin*
750754

@@ -816,7 +820,7 @@ page in a Vim window: >
816820
set keywordprg=:Man
817821
818822
819-
MANPAGER *manpager.vim*
823+
MANPAGER *manpager.vim*
820824

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

836840

837-
MARKDOWN *ft-markdown-plugin*
841+
MARKDOWN *ft-markdown-plugin*
838842

839843
To enable folding use this: >
840844
let g:markdown_folding = 1
@@ -913,7 +917,7 @@ To enable this behavior, set the following variable in your vimrc: >
913917
let g:rst_style = 1
914918
915919
916-
RNOWEB *ft-rnoweb-plugin*
920+
RNOWEB *ft-rnoweb-plugin*
917921

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

0 commit comments

Comments
 (0)