-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ale does not set sign priority #3109
Comments
to repost from there from @hsanson:
|
Dear RyanSquared, |
@cridemichel seems ALE is not enabling sign priority and groups for you. When ALE enables these features all signs should have "group=ale" and priority correctly set to g:ale_sign_priority. This seems to be a problem with vim 8.2 and newer and there is already a PR to fix it: #3050 |
ok, thank you for pointing it out, do you know when this patch will be merged into master branch? |
Just did, please close the issue if it fixes it for you. |
it works as expected now, |
@cridemichel this was merged as of 14 hours ago, do you mind testing it now? |
Submitter reports works as expected so closing. |
I did it works!
Cristiano De Michele
cristiano.demichele@gmail.com
… Il giorno 18 apr 2020, alle ore 05:50, Ryan ***@***.***> ha scritto:
@cridemichel <https://github.com/cridemichel> this was merged as of 14 hours ago, do you mind testing it now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3109 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADU4YGXHCOIG4XYHIXYXJT3RNEPPJANCNFSM4MJM5VYA>.
|
Information
Ale sign priority is not correctly set and gitgutter signs take precedence over
ale ones.
Indeed, if in my .vimrc I set:
which are the default values, I get gitgutter sign rendered on top of ale sign, i.e. as if
it has higher priority than ale sign.
Anyway if I set:
i.e. a value less than 10 for gitgutter sign (where 10 is the default value assigned to signs by vim), the ale sign is correctly rendered with higher priority.
This behavior suggests that ale_sign_priority is not handled correctly, i.e. the priority of ale signs is always set to the default value (i.e. 10). To support this conclusion, if set
ale still has higher priority than gitgutter sign, being rendered on top of gitgutter sign.
In conclusion, it seems that ale signs are always rendered as if they have a priority equal to 10.
To confirm my guess by issuing the command:
I get:
VIM version
Operating System:
Mac OSX Catilina 10.15.4
What went wrong
Something went wrong in specifically this place, and I also searched through both open and closed issues for the same problem before reporting a bug here.
Are you having trouble configuring ALE? Try asking for help on Stack Exchange or perhaps on Reddit instead. The GitHub issue tracker should be used for reporting bugs or asking for new features.
Reproducing the bug
to reproduce the bug please use the following minimal vimrc
file:
vimrc_ale_gitgutter.gz
:ALEInfo
The text was updated successfully, but these errors were encountered: