diff --git a/nvim/init.vim b/nvim/init.vim index 9415d4a..e4faddf 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -9,6 +9,10 @@ if empty(glob(data_dir . '/autoload/plug.vim')) silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif + +" Disable Perl +let g:loaded_perl_provider = 0 + call plug#begin() " Warn about plugin updates @@ -279,7 +283,7 @@ if has("macunix") " Required for virtualenvs let arch=substitute(system('uname -m'), '\n', '', '') if arch == 'arm64' - let g:python3_host_prog="/opt/homebrew/bin/python3" + let g:python3_host_prog="~/python-envs/neovim/bin/python3" else let g:python3_host_prog="/usr/local/bin/python3" endif diff --git a/setup_mac.sh b/setup_mac.sh index f1e071d..ec2ddb1 100755 --- a/setup_mac.sh +++ b/setup_mac.sh @@ -6,8 +6,11 @@ # Distributed under terms of the MIT license. # -brew install neovim tmux alacritty coreutils cmake golang npm -pip3 install neovim +brew install neovim tmux alacritty coreutils cmake golang npm virtualenvwrapper +source /opt/homebrew/bin/virtualenvwrapper.sh +mkvirtualenv neovim +pip3 install pynvim +npm install -g neovim echo For alacritty to work seemlessly with tmux, we will have to add '/usr/local/bin'\ to the path. This will require your root password. sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin