diff --git a/lib/latexer-hook.coffee b/lib/latexer-hook.coffee index 1f52917..e6a0509 100644 --- a/lib/latexer-hook.coffee +++ b/lib/latexer-hook.coffee @@ -8,7 +8,7 @@ module.exports = beginRex: /\\begin{([^}]+)}/ mathRex: /(\\+)\[/ refRex: /\\(\w*ref({|{[^}]+,)|[cC](page)?refrange({[^,}]*})?{)$/ - citeRex: /\\\w*(cite|citet|citep|citet\*|citep\*)(\[[^\]]+\])?({|{[^}]+,)$/ + citeRex: /\\\w*(cite|citet|citep|nocite|citet\*|citep\*|nocite\*)(\[[^\]]+\])?({|{[^}]+,)$/ constructor: (@editor) -> @disposables = new CompositeDisposable @disposables.add @editor.onDidChangeTitle => @subscribeBuffer()