Set up neovim python venv
This commit is contained in:
parent
c8c9b2b8a0
commit
6ce1c44aff
3 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,9 @@ fileignoreconfig:
|
||||||
- filename: dotfiles/shell/profile
|
- filename: dotfiles/shell/profile
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
|
- filename: dotfiles/zsh/zshenv
|
||||||
|
ignore_detectors:
|
||||||
|
- filename
|
||||||
- filename: dotfiles/zsh/zshrc
|
- filename: dotfiles/zsh/zshrc
|
||||||
ignore_detectors:
|
ignore_detectors:
|
||||||
- filename
|
- filename
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||||
let &packpath = &runtimepath
|
let &packpath = &runtimepath
|
||||||
source ~/.vimrc
|
source ~/.vimrc
|
||||||
|
let g:python3_host_prog = '~/.config/nvim/neovim-python3/bin/python'
|
||||||
|
|
|
@ -14,3 +14,7 @@ export LESS_TERMCAP_so="$(printf '%b' '[01;44;33m')"
|
||||||
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
export LESS_TERMCAP_se="$(printf '%b' '[0m')"
|
||||||
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
export LESS_TERMCAP_us="$(printf '%b' '[1;32m')"
|
||||||
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
export LESS_TERMCAP_ue="$(printf '%b' '[0m')"
|
||||||
|
|
||||||
|
if [[ -n $VIRTUAL_ENV && -e "${VIRTUAL_ENV}/bin/activate" ]]; then
|
||||||
|
source "${VIRTUAL_ENV}/bin/activate"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue