Skip to content

Make (at least a subset of) vimtex functionality available from within bib files #1517

@krishnakumarg1984

Description

@krishnakumarg1984

I understand that vimtex's documentation states that it is not a ftplugin for bib files.

It is so common a workflow to edit bib files when working on a latex project. Can at least a subset of functionality be made available from within bib files? The following should be harmless

  • make the text objects available (particularly useful in 'symbols' bib file for bib2gls)
  • syntax highlighting
  • interface to the compiler (maybe all main file detection routines except the magic comments)
  • indentation

I'd leave the sort-by-key, validation, linting etc to specialised bib tools, but clearly one could argue that a latex plugin isn't complete with some bib support. (especially since vimtex has gone so far to support listings, minted, subfiles and other external packages)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions