Skip to content

Commit

Permalink
feat: ignore 'shell' with neovim compiler jobstart
Browse files Browse the repository at this point in the history
refer: #2220
  • Loading branch information
lervag committed Oct 25, 2021
1 parent 3bc4ee9 commit 7b9743e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoload/vimtex/compiler/_template.vim
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ function! s:compiler_nvim.exec(cmd) abort dict " {{{1
let l:shell.on_exit = function('s:callback_nvim_exit')
endif

let s:saveshell = [&shell, &shellcmdflag]
set shell& shellcmdflag&
let self.job = jobstart(a:cmd, l:shell)
let [&shell, &shellcmdflag] = s:saveshell
endfunction

" }}}1
Expand Down

0 comments on commit 7b9743e

Please sign in to comment.