Many more changes! Holy moly. Finally got LSP and CMP working as expected.

This commit is contained in:
Norm Rasmussen
2023-09-06 17:15:51 -04:00
parent 86f495c878
commit b3413957d3
10 changed files with 145 additions and 122 deletions

View File

@ -4,20 +4,28 @@
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
plugins=(
zsh-autosuggestions,
git,
wakatime,
brew,
npm,
z,
zsh-syntax-highlighting,
vi-mode,
)
#plugins=(
# zsh-autosuggestions,
# git,
# wakatime,
# brew,
# npm,
# z,
# zsh-syntax-highlighting,
# vi-mode,
#)
plug "jeffreytse/zsh-vi-mode"
plug "wbingli/zsh-wakatime"
# Zsh Autosuggestion Config
source ~/.dotfiles/zsh/zsh-autosuggestions/
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,bg=cyan,bold,underline"
#source ~/.dotfiles/zsh/zsh-autosuggestions/
#ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,bg=cyan,bold,underline"
plug "zap-zsh/supercharge"
plug "zsh-users/zsh-autosuggestions"
# Example install of a plugin pinned to specifc commit or branch, just pass the git reference
plug "zsh-users/zsh-syntax-highlighting" "122dc46"
# User configuration
@ -31,7 +39,20 @@ export VISUAL='nvim'
export PYTHONPATH="/opt/homebrew/bin/python3:$PYTHONPATH"
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# Function to Correctly Source $VIRTUAL_ENV for Neovim
function nvimvenv {
if [[ -e "$VIRTUAL_ENV" && -f "$VIRTUAL_ENV/bin/activate" ]]; then
source "$VIRTUAL_ENV/bin/activate"
command nvim "$@"
deactivate
else
command nvim "$@"
fi
}
alias nvim=nvimvenv
# alias nvim-minimal="NVIM_APPNAME=Minivim nvim"
# alias nvim-arduino="NVIM_APPNAME=Arduino nvim"
@ -51,9 +72,9 @@ eval "$(pyenv init -)"
# source /Users/normrasmussen/.docker/init-zsh.sh || true # Added by Docker Desktop
export PATH="$PATH:$HOME/.rvm/bin"
# export PATH="$PATH:$HOME/.rvm/bin"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH="/opt/homebrew/sbin:$PATH"
eval "$(starship init zsh)"
export PATH="/opt/homebrew/bin:$PATH"
eval "$(starship init zsh)"