Skip to content

VimTeX 2.8

Compare
Choose a tag to compare
@lervag lervag released this 07 Nov 22:16
· 779 commits to master since this release

It is again time for a new release. Since v2.7, there's been the normal amount of minor improvements and some refactoring. The main updates I would like to highlight are:

  • VimTeX now works even better with inverse search from viewers:
    • I've added :VimtexInverseSearch that can be used by the viewer specific configuration to communicate with VimTeX in a "server agnostic" manner. See :help vimtex-synctex-inverse-search for more info.
    • The documentation on configuration of inverse search with viewers has been rewritten.
  • The backend for running external processes and jobs has been rewritten. This is probably not so noticable by users, but it makes it easier to work with for me!

Features

  • Viewers
    • Add :VimtexInverseSearch to simplify inverse search configuration in viewers (#2219)
    • Simplify Zathura libsynctex check
  • Indentation
    • Only autoindent with 'indentkeys' at start of line (#2227)
    • Allow content before first \item (#2020)
  • Performance
    • Reduce wait time for vim.job_stop (#2222)
    • Add cached system call to process handler
    • Avoid a glob() call if possible (#2198)
    • Delay Skim availability check (#2185)
  • Syntax
    • Support \nameref (#2208)
    • Allow more styling to g:vimtex_syntax_custom_cmds (#2033, #2224)
    • Conceal support for \(sub)*section (#2022)
    • Add conceal for \[lr][vV]ert (#2186)
    • Minor update to math symbol conceals (#2178)
    • Support for Overleaf's begin|end novalidate (#2171)
    • Improve support for siunitx package (#2167)
  • Backend and initialization
    • Ignore 'shell' option for jobstart with neovim (#2220)
    • Improved latexlog quickfix error parsing (#2214)
    • Remove unnecessary option g:vimtex_compiler_progname
    • Add vimtex#env#get_* api functions (#2212)
    • Rewrite process handler (#2195)
      • Simplify and improve structure of job calls
    • Add proper cache validation to all caches (#2206)
    • Parse TeX program directive on request, not only on init (#2168)
    • Improve 'define' option (#2164)

Fixes

  • Fixed a (probably rare) problem with E565 from callback (#2225)
  • Fixed missing highlight of subsec in ToC (#2221)
  • Fixed a race condition for compiler and check_running timer (#2222)
  • Fixed issue with chktex linter (#2209)
  • Fixed an issue where \input lines were not properly parsed (#2204)
  • Fixed mapping: tse shouldn't toggle \begin{document} (#2210)
  • Fixed a couple of bugs with indentation (#2031, #2229)
  • Fixed some minor issues with the vlty grammer checker (#2190, #2191)
  • Fixed a bug with the textidote grammer checker (#2190)
  • Fixed a conflict between autoindent and completion (xxx)
  • Fixed some cache issues (#2184, #2188, #2189)
  • Fixed an error with :VimtexInfo on Windows (#2134, #2220)
  • Some minor regression and bugs (#2170, #2175, #2202)

Documentation

  • Rewrote the documentation on inverse search (#2157, #2219)
    • This was a large change that also improves the documentation for the various viewers and their configuration.
  • Use more positive wording for section on integration with other plugins (#1371)
  • Some general improvements

Other

  • More maintenance work such as a refactoring of the compiler backend.

Ackowledgements

Again there has been several contributions from the community, and as before I would like to give a special thanks to everyone who contributes with PRs: @krishnakumarg1984 (#2172), @Konfekt (#2191, #2209), @BertrandSim (#2227), @JaSpa (#2230).

In addition, this time I also want to raise a special thanks to @clason, @PanagiotisS, @BertrandSim, @user202729, and @andryandrew, who helped me test and resolve issues with the new :VimtexInverseSearch feature.