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

command predicates: added support for strict matching #990

Merged
merged 1 commit into from
May 15, 2022

Conversation

jgmdev
Copy link
Member

@jgmdev jgmdev commented May 15, 2022

Appending ! on a string predicate will allow strict matching of the current view.

Example: "core.docview!" will strictly match an active view that is explicitly a DocView and not other views like the CommandView which also inherits from DocView.

@jgmdev
Copy link
Member Author

jgmdev commented May 15, 2022

Tested and working with lfautoinsert, will correct it on the 2,1 branch of plugins repo

@jgmdev jgmdev merged commit ac1d15f into lite-xl:master May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant