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

valid header adornemets not autocompleted #27

Closed
mgaitan opened this issue Jul 23, 2013 · 0 comments
Closed

valid header adornemets not autocompleted #27

mgaitan opened this issue Jul 23, 2013 · 0 comments
Labels

Comments

@mgaitan
Copy link
Owner

mgaitan commented Jul 23, 2013

the header autocompletion trigger only recognize a very reduced subset of valid adornments characters.

{ "key": "preceding_text", "operator": "regex_contains", "operand": "^[=\\-\\*\\+]+" }

So if you have something like

A valid header
~~~<TAB> 

It wont be autocompleted.

Complete the regex operand with a complete list of valid adornemets . In python it is:

ADORNEMENTS = r"""[!\"#$%&'\\()*+,\-./:;<=>?@\[\]\^_`{|}~]"""
Kronuz added a commit to Kronuz/sublime-rst-completion that referenced this issue Feb 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant