diff --git a/lib/latexer-hook.coffee b/lib/latexer-hook.coffee index 1f52917..2fe59d5 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|footcite|citet\*|citep\*)(\[[^\]]+\])?({|{[^}]+,)$/ constructor: (@editor) -> @disposables = new CompositeDisposable @disposables.add @editor.onDidChangeTitle => @subscribeBuffer()