2022-08-04 14:53:09 +01:00
|
|
|
#! /usr/bin/env sh
|
2022-11-01 16:02:06 +00:00
|
|
|
|
|
|
|
# Install Packer
|
2022-11-01 15:34:28 +00:00
|
|
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
|
|
|
$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim
|
2022-11-01 16:02:06 +00:00
|
|
|
|
|
|
|
# Link config directories
|
2022-11-01 15:17:20 +00:00
|
|
|
mkdir -p $HOME/.config/nvim/
|
|
|
|
ln -s $(readlink -f init.lua) $HOME/.config/nvim/init.lua
|
|
|
|
ln -s $(readlink -f lua) $HOME/.config/nvim/lua
|
2022-11-01 16:02:06 +00:00
|
|
|
|
|
|
|
# Install required python plugins into dedicated env
|
2022-08-04 14:53:09 +01:00
|
|
|
pyenv virtualenv neovim3 # Assumes working pyenv
|
|
|
|
pyenv activate neovim3
|
|
|
|
pip install -U pip setuptools wheel
|
|
|
|
pip install -U pynvim "python-lsp-server[all]" fortls pylsp-mypy python-lsp-black
|
|
|
|
pyenv deactivate
|