-
Notifications
You must be signed in to change notification settings - Fork 10
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
リージョンハイライトで、数字がハイライトされない。 #6
Comments
あ、あと just info ですが、 matchadd() に matchid を指定するのは、リクエストしたIDが無理だと、失敗するので、私は使わないようにしてます。他のプラグインでその値とってたら、使えない。 |
修正されました。 ちなみに、matchidはウィンドウローカルな値でしたね。 保持するようにしていた理由は、一度そのウィンドウで使われたID値はたとえ削除されていてもaddmatch()は新しい別のIDを振り出すので、ID値が増えていくのが気持ち悪く感じたのと、もし不具合でIDの削除し損じが生じた場合のIDの特定が容易だということからでした。 ウィンドウローカル変数に保持する案もあるのですが、とりあえずIDは使い捨てという実装を取りました。 |
対応ありがとうございます。 のようにwindow移動時にidかき集めてます。 |
この問題の正確な表現は、2文字以下の文字列にはリージョンハイライトがされないというものでした。 |
一応別Issueとして立てます。
10
のような'数字のみ'の貼付け時にハイライトされない。
<C-v>
とかで 数字選択した場合にはハイライトされる。つまり、
<C-v>
以外のハイライトパターンがマッチしてない。元々僕のハイライトが適当だったのでこうなってる。
以下だと、ちゃんとハイライトされました。
確認して問題なければ対応ねがいます。
The text was updated successfully, but these errors were encountered: