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 documentation for how to get grammars to work with more apps #144

Open
dylan-chong opened this issue Jun 8, 2017 · 0 comments
Open

Comments

@dylan-chong
Copy link
Contributor

dylan-chong commented Jun 8, 2017

It is not clear that you must use a regex to match the server-side app window title in order for the grammar/commands to work on a server-side app. I had incorrectly assumed that grammars would work with all apps. Documentation needs to be added to make people aware of this requirement when they make/customise their own grammars.

Just as an example, I am referring to the regex here:

 vim_context = aenea.wrappers.AeneaContext(
     ProxyAppContext(match='regex', title='(?i).*VIM.*'),
     AppContext(title='VIM')
     )
@dylan-chong dylan-chong changed the title Add documentation for how to use contexts (i.e. how to get grammars to work with more apps) Add documentation for how to get grammars to work with more apps Jun 8, 2017
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

No branches or pull requests

1 participant