Skip to content

Commit

Permalink
feat(vlty): prefer g:python3_host_prog
Browse files Browse the repository at this point in the history
refer: #3068
  • Loading branch information
lervag committed Jan 5, 2025
1 parent 56def42 commit 99c5694
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compiler/vlty.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ let current_compiler = 'vlty'
let s:cpo_save = &cpo
set cpo&vim

let s:python = executable('python3') ? 'python3' : 'python'
let s:python = exists('g:python3_host_prog')
\ ? g:python3_host_prog
\ : executable('python3') ? 'python3' : 'python'

let s:vlty = g:vimtex_grammar_vlty

function! s:installation_error(msg) abort " {{{1
Expand Down

0 comments on commit 99c5694

Please sign in to comment.