[NVIM] Run YCM install script on update

This commit is contained in:
Fabian Ising
2025-08-06 11:04:27 +02:00
parent 4718c8cccc
commit 6fd62c340d

View File

@@ -65,7 +65,7 @@ function! BuildYCM(info)
" - name: name of the plugin " - name: name of the plugin
" - status: 'installed', 'updated', or 'unchanged' " - status: 'installed', 'updated', or 'unchanged'
" - force: set on PlugInstall! or PlugUpdate! " - force: set on PlugInstall! or PlugUpdate!
if a:info.status == 'installed' || a:info.force if a:info.status == 'installed' || a:info.status == 'updated' || a:info.force
execute '!' . g:python_interpreter . ' ./install.py --all' execute '!' . g:python_interpreter . ' ./install.py --all'
endif endif
endfunction endfunction