dotfiles/symlinks/config/nvim/after/plugin/python_host.vim

12 lines
537 B
VimL
Raw Normal View History

2021-02-23 11:27:32 +00:00
" -----------------------------------------------------------------------------
" - Neovim python host -
" Explicit declaration of python host program to "prevent suprises"
" -----------------------------------------------------------------------------
if !has('win32')
2024-11-21 16:59:33 +00:00
let g:python_host_prog = $HOME.'/.local/share/mise/shims/python2'
let g:python3_host_prog = $HOME.'/.local/share/mise/shims/python3'
else
let g:python_host_prog = $HOME.'/scoop/shims/python2'
let g:python3_host_prog = $HOME.'/scoop/shims/python3'
endif