Skip to content

Commit f4c69cf

Browse files
authored
Merge pull request #2483 from h-east/update-ft_rust
Update ft_rust.{txt,jax}
2 parents 6983695 + 9688ad9 commit f4c69cf

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

doc/ft_rust.jax

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,18 @@ g:rustfmt_emit_files~
166166
<
167167
*g:rustfmt_detect_version*
168168
g:rustfmt_detect_version~
169-
1 に設定すると、"rustfmt" からのバージョン出力を解析しようとします。パ
170-
フォーマンス上の理由から、デフォルトでは無効になっています。
169+
1 に設定すると、"rustfmt" からのバージョン出力を解析しようとする。パ
170+
フォーマンス上の理由から、デフォルトでは無効になっている
171171
>
172172
let g:rustfmt_detect_version = 1
173+
<
174+
*g:rustfmt_find_toml*
175+
g:rustfmt_find_toml~
176+
1 に設定すると、現在のパスから上方向に検索して `rustfmt.toml` ファイル
177+
を見つけようとする。パフォーマンス上の理由から、デフォルトでは無効に
178+
なっている
179+
>
180+
let g:rustfmt_find_toml = 1
173181
<
174182
*g:rust_playpen_url*
175183
g:rust_playpen_url~

en/ft_rust.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ g:rustfmt_detect_version~
166166
Disabled by default for performance reasons
167167
>
168168
let g:rustfmt_detect_version = 1
169+
<
170+
*g:rustfmt_find_toml*
171+
g:rustfmt_find_toml~
172+
When set to 1, will try to find `rustfmt.toml` file by searching from
173+
current path upwards. Disabled by default for performance reasons
174+
>
175+
let g:rustfmt_find_toml = 1
169176
<
170177
*g:rust_playpen_url*
171178
g:rust_playpen_url~

0 commit comments

Comments
 (0)