randy3k / LaTeXBox

A lightweight but deprecated LaTeX Plugin for Sublime Text 3
44 stars 8 forks source link

Fixes #27. #28

Closed selimb closed 9 years ago

selimb commented 9 years ago

Add non-capturing group to cite regex, similar to that of includegraphics.

selimb commented 9 years ago

Tested on my Windows machine (ST3). All variants of \cite below will trigger the completion:

     \cite{
     \citet{
     \cite[foo bar]{

The second commit adds support for:

     \cite[foo][bar]{

I found examples of using two sets of square brackets on wikibooks.

randy3k commented 9 years ago

thanks.

selimb commented 9 years ago

Thanks to you