-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:set ignorecase の作用がコマンドラインの補完時に効いているのは仕様か #1030
Comments
そもそも比較時にも使用されたりするので、そういうもの(動きに関して)ですねと言う話をしました。 |
コマンドライン補完が
|
私もそう思います。
そうですね、
|
ひとまず、 diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 80fe222..0613200 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4188,7 +4188,10 @@ A jump table for the options with a short description can be found at |Q_op|.
Also see 'smartcase' and 'tagcase'.
Can be overruled by using "\c" or "\C" in the pattern, see
|/ignorecase|.
-
+ NOTE: This option affects the results of various commands. See the
+ result of the following command for details. >
+ :helpg 'ignorecase'
+<
*'imactivatefunc'* *'imaf'*
'imactivatefunc' 'imaf' string (default "")
global @ryunix 他の部分は任せました:+1: |
他の部分はやれそうか見てみます 🤔 |
とりあえず最低限の文章だけ追加してみました 🤔 diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index aab2a3e..c726224 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -410,6 +410,7 @@ CTRL-D List names that match the pattern in front of the cursor.
match is inserted. After the last match, the first is used
again (wrap around).
The behavior can be changed with the 'wildmode' option.
+ 'ignorecase' and 'smartcase' options are used.
*c_CTRL-N*
CTRL-N After using 'wildchar' which got multiple matches, go to next
match. Otherwise recall more recent command-line from history. 唐突に出てきた 'smartcase' は以下で確認してあります。
|
|
ちなみにですが、あわせてsmartcaseも効くようです。 # それでさらに微妙な現象がありますが別Issueにしてみようかと思います。 |
質問・報告の内容
:help 'ignorecase'
の内容から、検索時に大文字小文字が無視される設定だと分かります。しかし、コマンドラインの補完時に大文字小文字が無視されることが分かりました。
これは仕様でしょうか?
仕様だとしたら
:help 'ignorecase'
が不親切ではないでしょうか?再現方法は以下の通りです。
Vimのバージョン
8.0.0314 (MacVim)
OSの種類/ディストリ/バージョン
使用している or 関係していそうなプラグイン
なし
その他
なし
The text was updated successfully, but these errors were encountered: