Merge branch 'main' of github.com:esensar/dotfiles

pull/2/head
Ensar Sarajčić 2021-09-15 15:31:41 +02:00
commit cff5f31888
7 changed files with 15 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

@ -4,6 +4,7 @@ source ~/.vim/plugins.vim
" IdeaVIM plugins
set surround
set commentary
set NERDTree
" IdeaVIM settings
set ideajoin

View File

@ -3,3 +3,4 @@ nodejs 15.5.0
python system
ruby 3.0.0
neovim 0.5.0
dotnet-core 5.0.202

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