Update windows remote plugin host settings

pull/2/head
Ensar Sarajčić 2021-07-29 23:06:24 +02:00
parent d10ecfe2f0
commit 462db776c8
5 changed files with 13 additions and 21 deletions

View File

@ -2,5 +2,10 @@
" - Neovim python host -
" Explicit declaration of python host program to "prevent suprises"
" -----------------------------------------------------------------------------
let g:python_host_prog = $HOME.'/.asdf/shims/python2'
let g:python3_host_prog = $HOME.'/.asdf/shims/python3'
if !has('win32')
let g:python_host_prog = $HOME.'/.asdf/shims/python2'
let g:python3_host_prog = $HOME.'/.asdf/shims/python3'
else
let g:python_host_prog = $HOME.'/scoop/shims/python2'
let g:python3_host_prog = $HOME.'/scoop/shims/python3'
endif

View File

@ -1,4 +1,8 @@
" -----------------------------------------------------------------------------
" - Neovim ruby host -
" -----------------------------------------------------------------------------
let g:ruby_host_prog = '~/.asdf/shims/ruby'
if !has('win32')
let g:ruby_host_prog = '~/.asdf/shims/ruby'
else
let g:ruby_host_prog = '~/scoop/shims/ruby'
endif

View File

@ -1,10 +0,0 @@
" -----------------------------------------------------------------------------
" - Neovim python host -
" Explicit declaration of python host program to "prevent suprises"
"
" NEOVIM ONLY!
" -----------------------------------------------------------------------------
if has('nvim')
let g:python_host_prog = $HOME.'/.asdf/shims/python2'
let g:python3_host_prog = $HOME.'/.asdf/shims/python3'
endif

View File

@ -1,8 +0,0 @@
" -----------------------------------------------------------------------------
" - Neovim ruby host -
"
" NEOVIM ONLY!
" -----------------------------------------------------------------------------
if has('nvim')
let g:ruby_host_prog = '~/.asdf/shims/ruby'
endif

View File

@ -12,6 +12,7 @@ mklink %UserProfile%\_vimrc %~dp0..\symlinks\vimrc
mklink /D %UserProfile%\vimfiles %~dp0..\symlinks\vim
mklink %UserProfile%\.gitconfig %~dp0..\symlinks\gitconfig
mklink %UserProfile%\.gitignore %~dp0..\symlinks\gitignore
mklink /D %UserProfile%\AppData\Local\nvim %~dp0..\symlinks\config\nvim
REM Then set up vim plug
Powershell.exe -executionpolicy remotesigned -File %~dp0install_vim_plug_windows.ps1