From 0a832adaf2aa19c919b5902ed79fd387c78afcc3 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 13 Dec 2025 10:50:49 +0900 Subject: [PATCH] Update ft_rust.{txt,jax} --- doc/ft_rust.jax | 8 ++++---- en/ft_rust.txt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/ft_rust.jax b/doc/ft_rust.jax index 8d0c6406c..113a43975 100644 --- a/doc/ft_rust.jax +++ b/doc/ft_rust.jax @@ -62,10 +62,10 @@ g:rust_conceal_pub~ *g:rust_recommended_style* g:rust_recommended_style~ - rust 標準ライブラリのスタイル慣習 (すなわち、インデントに 4 つスペース - を使い 'textwidth' に 99 を設定します) に従うインデントと textwidth の - 設定を有効にするためにはこのオプションを設定します。デフォルトではこの - オプションは有効です。無効にするには: > + このオプションを設定すると、Vim のインデントとテキスト幅の設定が Rust + スタイルガイドのスタイル規則に準拠するようになる (つまり、インデントに + は 4 つのスペースを使用し、'textwidth' を 100 に設定する)。このオプショ + ンはデフォルトで有効になっている。無効にするには: > let g:rust_recommended_style = 0 < diff --git a/en/ft_rust.txt b/en/ft_rust.txt index 4f4e3a85e..b1789b814 100644 --- a/en/ft_rust.txt +++ b/en/ft_rust.txt @@ -60,8 +60,8 @@ g:rust_conceal_pub~ *g:rust_recommended_style* g:rust_recommended_style~ Set this option to enable vim indentation and textwidth settings to - conform to style conventions of the rust standard library (i.e. use 4 - spaces for indents and sets 'textwidth' to 99). This option is enabled + conform to style conventions of the Rust style guide (i.e. use 4 + spaces for indents and set 'textwidth' to 100). This option is enabled by default. To disable it: > let g:rust_recommended_style = 0 <