Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #480 - bijancn:add-tex-identifier-regex, r=Valloric
Add tex identifier regex Commonly used latex identifiers are not covered by the default regex. The new regex is covered by test cases similar to the ones for perl and haskell. With this regex it is easy to reference with YCM from all figures, sections, etc. in the document. Using `fig:` and so on is best practice in latex but I haven't found a spec that could serve as reference. I wasn't able to run the full test suite (see message on ycmd-users) but I ran ``` nosetests ycmd/tests/identifier_utils_test.py ``` successfully. Ultimatively, I think the user should be able to give a custom identifier regex for different filetypes in their .vimrc (and its analogue in other editors). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/480) <!-- Reviewable:end -->
- Loading branch information