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

Improve single backticks to distinguish code, arguments, keywords #207

Open
fingolfin opened this issue Mar 29, 2019 · 1 comment
Open

Comments

@fingolfin
Copy link
Member

Motivated by the discussion on PR #190, I am hereby splitting the request for single backtick support from issue #184 into this new issue with more details:

It would be great if our single backticks code could distinguish between keywords, arguments and the rest, and then depending on that insert <K>bla</K>, <A>bla</A>, or <C>bla</C> -- right now, it always inserts <C>bla</C>.

@fingolfin
Copy link
Member Author

Note that one can use ALL_KEYWORDS() to detect keywords. The hardest bit is to recognize arguments. One problem with that is that we may not know them yet at the time we process the backtick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant