dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2247afbbdc27050954f3e277ad6964861fe8d319
parent 4f840311cbf689373238bfb283ed8f8205516213
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue,  1 Mar 2022 17:05:43 +0100

vim: fix vimtex statusline indicator

Diffstat:
Mvim/autoload/statusline.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vim/autoload/statusline.vim b/vim/autoload/statusline.vim @@ -111,8 +111,8 @@ function! statusline#StatuslineWordCount() endfunction function! statusline#StatuslineVimtexCompiler() - if exists('b:vimtex.compiler') && b:vimtex.compiler.is_running() - return '⚙︎ {'.(fnamemodify(b:vimtex.compiler.target_path, ":p:.")).'}' + if exists('b:vimtex') && b:vimtex->has_key('compiler') && b:vimtex['compiler']['is_running']() + return '⚙︎ {'.(fnamemodify(b:vimtex['tex'], ":p:.")).'}' endif return '' endfunction