Skip to content
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

Add an option to show the completion menu #7

Merged
merged 1 commit into from
Apr 7, 2019

Conversation

mityu
Copy link
Contributor

@mityu mityu commented Apr 5, 2019

展開時に複数コマンドがマッチし、それらからプレフィックスが見つかった場合、プレフィックスを補完するだけでなく自動でVim内蔵のコマンド補完も起動し得るようにしました。
これは結構副作用がありそうだと思ったので、オプションでこの機能の有効/無効を切り替えられるようにした上で、デフォルトでは無効にしてあります。
オプション名はg:ambicmd#show_completion_menuです。
(..オプション名がちょっとしっくりこない気もするので、良い名前があったら教えてください...)

doc/ambicmd.txt Outdated
g:ambicmd#show_completion_menu *g:ambicmd#show_completion_menu*
|Number|.
If this value is non-zero:
- When you're in command-line with |'wildmenu'| enabled, and
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

オプション名に対しては || は不要です。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

すみません、知りませんでした...
直しておきました!

@thinca thinca merged commit 4aac5f2 into thinca:master Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants