Using LanguageClient

This commit is contained in:
Geoffrey Frogeye 2020-04-10 14:19:42 +02:00
parent c8aaa78f59
commit 6e701541ca
7 changed files with 40 additions and 20 deletions

View file

@ -15,9 +15,14 @@ ADOTDIR=~/.cache/antigen
mkdir -p $ADOTDIR
typeset -a ANTIGEN_CHECK_FILES=(~/.config/shell/zshrc)
[ -f ~/.local/share/zsh/antigen.zsh ] || (mkdir -p ~/.local/share/zsh/ && curl -L git.io/antigen > ~/.local/share/zsh/antigen.zsh)
# TODO If the downloaded file is wrong then we're doomed
source ~/.local/share/zsh/antigen.zsh
if [ -f /usr/share/zsh/share/antigen.zsh ]
then
source /usr/share/zsh/share/antigen.zsh
else
[ -f ~/.local/share/zsh/antigen.zsh ] || (mkdir -p ~/.local/share/zsh/ && curl -L git.io/antigen > ~/.local/share/zsh/antigen.zsh)
# TODO If the downloaded file is wrong then we're doomed
source ~/.local/share/zsh/antigen.zsh
fi
# This is better to have them installed as system since we can use them as root
# pacman -S zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting zsh-completions --needed