Skip to content

Support comma separated list of references #34

@malb

Description

@malb

Autocompletion won't work for \cite{foo,ba_ this can be fixed by doing something like this:

    (prefix (let ((prefixes (company-auctex-prefix "\\\\cite[^[{]*\\(?:\\[[^]]*\\]\\)?{\\([^}]*\\)\\=")))
              (if prefixes
                  (last (split-string prefixes "," t))
                nil)))

malb/emacs.d@4f6267f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions