Skip to content

Compiler callback lines for latexmk do not work for neovim #2523

@krishnakumarg1984

Description

@krishnakumarg1984

Description

VimTex's documenation says:

A particular set of options are very convenient for a good coupling between
latexmk and Vim: $compiling_cmd, $success_cmd, and $failure_cmd. These
options can be used to specify commands that are run by latexmk before and
after compilation. This is used by VimTeX to achieve callbacks after
compilation has finished through |vimtex#compiler#callback| with something
like this: >

$compiling_cmd = "vim --remote-expr 'vimtex#compiler#callback(1)'";
$success_cmd = "vim --remote-expr 'vimtex#compiler#callback(2)'";
$failure_cmd = "vim --remote-expr 'vimtex#compiler#callback(3)'";

However, neovim (the nvim executable) does not have the ---remote-expr option available. Can the docs be updated to provide something analogous for neovim?

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Do you use a latexmkrc file?

N/A

VimtexInfo

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions