Skip to content

Commit b519603

Browse files
authored
Merge pull request #319 from vim-jp/update_filetype
Update filetype.{txt,jax}
2 parents 481afc0 + 3488776 commit b519603

File tree

2 files changed

+43
-3
lines changed

2 files changed

+43
-3
lines changed

doc/filetype.jax

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,26 @@ PYTHON *ft-python-plugin* *PEP8*
637637
638638
639639
640+
R MARKDOWN *ft-rmd-plugin*
641+
642+
デフォルトでは、ftplugin/html.vimは読み込まれない。読み込みたい場合は、以下を
643+
あなたの |vimrc| に追加する: >
644+
let rmd_include_html = 1
645+
646+
'formatexpr' オプションは、Rコード用とMarkdownコード用の異なる値で動的に設定さ
647+
れる。'formatexpr' が設定されていない方が良い場合は、以下をあなたの |vimrc|
648+
追加する: >
649+
let rmd_dynamic_comments = 0
650+
651+
652+
R RESTRUCTURED TEXT *ft-rrst-plugin*
653+
654+
'formatexpr' オプションは、Rコード用とreStructuredText用の異なる値で動的に設定
655+
される。'formatexpr' が設定されていない方が良い場合は、以下をあなたの |vimrc|
656+
に追加する: >
657+
let rrst_dynamic_comments = 0
658+
659+
640660
RPM SPEC *ft-spec-plugin*
641661

642662
このプラグインに関する説明は非常に多いので、別のファイル |pi_spec.txt| に記述

en/filetype.txt

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ then Vim will load all plugins in these directories and below:
320320
Note that the last one is the value of $VIMRUNTIME which has been expanded.
321321

322322
Note that when using a plugin manager or |packages| many directories will be
323-
added to 'runtimepath'. These plugins earch require their own directory,
324-
don't put them directly in ~/.vim/plugin.
323+
added to 'runtimepath'. These plugins each require their own directory, don't
324+
put them directly in ~/.vim/plugin.
325325

326326
What if it looks like your plugin is not being loaded? You can find out what
327327
happens when Vim starts up by using the |-V| argument: >
@@ -638,11 +638,31 @@ By default the following options are set, in accordance with PEP8: >
638638
639639
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
640640
641-
To disable this behaviour, set the following variable in your vimrc: >
641+
To disable this behavior, set the following variable in your vimrc: >
642642
643643
let g:python_recommended_style = 0
644644
645645
646+
R MARKDOWN *ft-rmd-plugin*
647+
648+
By default ftplugin/html.vim is not sourced. If you want it sourced, add to
649+
your |vimrc|: >
650+
let rmd_include_html = 1
651+
652+
The 'formatexpr' option is set dynamically with different values for R code
653+
and for Markdown code. If you prefer that 'formatexpr' is not set, add to your
654+
|vimrc|: >
655+
let rmd_dynamic_comments = 0
656+
657+
658+
R RESTRUCTURED TEXT *ft-rrst-plugin*
659+
660+
The 'formatexpr' option is set dynamically with different values for R code
661+
and for ReStructured text. If you prefer that 'formatexpr' is not set, add to
662+
your |vimrc|: >
663+
let rrst_dynamic_comments = 0
664+
665+
646666
RPM SPEC *ft-spec-plugin*
647667

648668
Since the text for this plugin is rather long it has been put in a separate

0 commit comments

Comments
 (0)