2022-08-04 14:53:09 +01:00
|
|
|
#! /usr/bin/env sh
|
2022-11-01 16:02:06 +00:00
|
|
|
|
|
|
|
# Install Packer
|
2022-11-02 08:52:48 +00:00
|
|
|
PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
|
|
|
|
if [ ! -d $PACKER_DIR ]; then
|
|
|
|
git clone --depth 1 https://github.com/wbthomason/packer.nvim $PACKER_DIR
|
|
|
|
fi
|
2023-01-09 15:24:30 +00:00
|
|
|
|
|
|
|
NVIM_DIR=$(dirname $(readlink -f $0))
|
2023-01-09 18:41:48 +00:00
|
|
|
/usr/bin/env python3 -m venv "$NVIM_DIR/venv"
|
2023-01-09 15:24:30 +00:00
|
|
|
$NVIM_DIR/venv/bin/python -m pip install -U pip setuptools wheel || exit 1
|
|
|
|
$NVIM_DIR/venv/bin/python -m pip install -U pynvim
|