Skip to content

Commit d3ac41d

Browse files
authored
Merge pull request #1358 from vim-jp/hh-update-spell
Update spell.{txt,jax}
2 parents 1e94487 + b344d39 commit d3ac41d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

doc/spell.jax

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*spell.txt* For Vim バージョン 9.0. Last change: 2020 Aug 15
1+
*spell.txt* For Vim バージョン 9.0. Last change: 2023 May 25
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -123,7 +123,7 @@ zuG |zW| や |zG| をundoして、内部単語リストからその単語を
123123
部単語リストに追加する。
124124

125125
*:spellra* *:spellrare*
126-
:[count]spellr[are] {word}
126+
:[count]spellra[re] {word}
127127
|zw| と同様に、{word} を稀な単語として 'spellfile' に加
128128
える。countが無いときは最初の名前が使われ、count に 2
129129
を指定したときは 2 番目の項目が使われる。
@@ -137,7 +137,7 @@ zuG |zW| や |zG| をundoして、内部単語リストからその単語を
137137
< |:spelllundo||zuw|、または |zuW| はこれをもとに戻す
138138
ことができる。
139139

140-
:spellr[rare]! {word} |zW| と同様に、{word} を稀な単語として内部単語リストに
140+
:spellra[re]! {word} |zW| と同様に、{word} を稀な単語として内部単語リストに
141141
追加する。
142142

143143
:[count]spellu[ndo] {word} *:spellu* *:spellundo*
@@ -218,7 +218,8 @@ z= カーソルの下や後の単語に対して正しい綴りの単語を提
218218
ては |set-spc-auto| を参照せよ。
219219

220220
'spelloptions' オプションには、スペルチェックの仕組みに影響のあるフラグがさら
221-
にいくつかある。
221+
にいくつかある。例えば、"camel" はキャメルケースの単語を分割して、単語の各部分
222+
が個別にスペルチェックされるようにする。
222223

223224
Vim は見つけた正しい単語の数を数える。これは提案候補をソートするのに使用される。
224225
前に見つけた単語は小さな評価、よく見られる単語は大きな評価を得る。接辞ファイル

en/spell.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*spell.txt* For Vim version 9.0. Last change: 2020 Aug 15
1+
*spell.txt* For Vim version 9.0. Last change: 2023 May 25
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -122,7 +122,7 @@ zuG Undo |zW| and |zG|, remove the word from the internal
122122
list, like with |zW|.
123123

124124
*:spellra* *:spellrare*
125-
:[count]spellr[are] {word}
125+
:[count]spellra[re] {word}
126126
Add {word} as a rare word to 'spellfile', similar to
127127
|zw|. Without count the first name is used, with
128128
a count of two the second entry, etc.
@@ -135,7 +135,7 @@ zuG Undo |zW| and |zG|, remove the word from the internal
135135
nnoremap z/ :exe ':spellrare! ' .. expand('<cWORD>')<CR>
136136
< |:spellundo|, |zuw|, or |zuW| can be used to undo this.
137137

138-
:spellr[rare]! {word} Add {word} as a rare word to the internal word
138+
:spellra[re]! {word} Add {word} as a rare word to the internal word
139139
list, similar to |zW|.
140140

141141
:[count]spellu[ndo] {word} *:spellu* *:spellundo*
@@ -216,7 +216,8 @@ line may be postponed. Use |CTRL-L| when needed. Also see |set-spc-auto| for
216216
how it can be set automatically when 'spelllang' is set.
217217

218218
The 'spelloptions' option has a few more flags that influence the way spell
219-
checking works.
219+
checking works. For example, "camel" splits CamelCased words so that each
220+
part of the word is spell-checked separately.
220221

221222
Vim counts the number of times a good word is encountered. This is used to
222223
sort the suggestions: words that have been seen before get a small bonus,

0 commit comments

Comments
 (0)