Using LanguageClient
This commit is contained in:
parent
c8aaa78f59
commit
6e701541ca
|
@ -1,4 +1,4 @@
|
||||||
skin-tone = neutral
|
skin-tone = neutral
|
||||||
files = [emojis, greek]
|
files = [emojis, math]
|
||||||
insert-with-clipboard = true
|
insert-with-clipboard = true
|
||||||
|
|
||||||
|
|
|
@ -9,13 +9,12 @@ sudo etckeeper commit "install-arch script: begin"
|
||||||
# Install yay
|
# Install yay
|
||||||
# TODO Use yay-bin
|
# TODO Use yay-bin
|
||||||
sudo pacman -S base-devel --needed
|
sudo pacman -S base-devel --needed
|
||||||
if ! pacman -Q yay &> /dev/null
|
if ! pacman -Q yay-bin &> /dev/null
|
||||||
then
|
then
|
||||||
sudo pacman -S go-pie --needed
|
|
||||||
mkdir -p $HOME/.cache/yay
|
mkdir -p $HOME/.cache/yay
|
||||||
cd $HOME/.cache/yay
|
cd $HOME/.cache/yay
|
||||||
curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar xzvf -
|
curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay-bin.tar.gz | tar xzvf -
|
||||||
cd yay
|
cd yay-bin
|
||||||
makepkg -si
|
makepkg -si
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,9 @@ fi
|
||||||
changeColors monokai
|
changeColors monokai
|
||||||
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
|
vim +PlugUpgrade +PlugUpdate +PlugInstall +qall
|
||||||
|
|
||||||
|
systemctl enable pulseaudio --user --now
|
||||||
|
systemctl enable mpd --user --now
|
||||||
|
|
||||||
echo '# Alt keys on keypad
|
echo '# Alt keys on keypad
|
||||||
# In /usr/share/X11/xkb/symbols/us_qwerty-fr add:
|
# In /usr/share/X11/xkb/symbols/us_qwerty-fr add:
|
||||||
# include "keypad(oss)"
|
# include "keypad(oss)"
|
||||||
|
|
|
@ -110,7 +110,8 @@ i highlight # Syntax highlighter (TODO No termux)
|
||||||
i powerline-go-bin powerline-go # Nice prompt (potential problem: requires go-pie)
|
i powerline-go-bin powerline-go # Nice prompt (potential problem: requires go-pie)
|
||||||
|
|
||||||
i zsh # Shell
|
i zsh # Shell
|
||||||
# TODO Arch only for the following but not a problem
|
i antigen # ZSH plugins
|
||||||
|
# TODO Arch only for the following (antigen takes over else)
|
||||||
i zsh-autosuggestions # Shell suggestions
|
i zsh-autosuggestions # Shell suggestions
|
||||||
i zsh-completions # Shell completions
|
i zsh-completions # Shell completions
|
||||||
i zsh-history-substring-search # Shell config
|
i zsh-history-substring-search # Shell config
|
||||||
|
@ -190,6 +191,7 @@ then
|
||||||
i pacman-contrib # Pactree and more
|
i pacman-contrib # Pactree and more
|
||||||
i shred # Delete sensititve data
|
i shred # Delete sensititve data
|
||||||
i android-tools && i android-udev # Android Debug Bridge
|
i android-tools && i android-udev # Android Debug Bridge
|
||||||
|
i tigervnc # Remote desktop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -218,6 +220,7 @@ then
|
||||||
# Python
|
# Python
|
||||||
i python-language-server # Python language server
|
i python-language-server # Python language server
|
||||||
i mypy && i pyls-mypy # Static typing checker for Python
|
i mypy && i pyls-mypy # Static typing checker for Python
|
||||||
|
i python-language-server-black # Python code formatter
|
||||||
|
|
||||||
# Bash
|
# Bash
|
||||||
i bash-language-server # Bash / SH language server
|
i bash-language-server # Bash / SH language server
|
||||||
|
@ -311,11 +314,7 @@ fi
|
||||||
if $INSTALL_GUI
|
if $INSTALL_GUI
|
||||||
then
|
then
|
||||||
i firefox # Web browser
|
i firefox # Web browser
|
||||||
i firefox-dark-reader # Firefox extension: dark theme everywhere
|
# Extensions: Dark reader, Decentraleyes, Tridactyl, uBlock Origin, Containers, No Tab
|
||||||
i firefox-decentraleyes # Firefox extension: fetch CDN resources locally
|
|
||||||
i firefox-tridactyl # Firefox extension: Navigate with keyboard
|
|
||||||
i firefox-ublock-origin # Firefox extension: Ad and tracker blocker
|
|
||||||
# I still need to download manually: container extensions, No Tab
|
|
||||||
|
|
||||||
i xkb-qwerty-fr # French QWERTY disposition
|
i xkb-qwerty-fr # French QWERTY disposition
|
||||||
i thunar # Directory browser (just in case)
|
i thunar # Directory browser (just in case)
|
||||||
|
@ -327,6 +326,7 @@ then
|
||||||
i adobe-source-han-sans-otc-fonts # Chinese/Japanese/Korean fonts
|
i adobe-source-han-sans-otc-fonts # Chinese/Japanese/Korean fonts
|
||||||
i sox # For beeps and stuff
|
i sox # For beeps and stuff
|
||||||
i meld # For comparison
|
i meld # For comparison
|
||||||
|
i python-magic # Dependency of o
|
||||||
|
|
||||||
if $INSTALL_X
|
if $INSTALL_X
|
||||||
then
|
then
|
||||||
|
@ -336,7 +336,7 @@ then
|
||||||
i i3lock # Locker
|
i i3lock # Locker
|
||||||
i numlockx # Numlock auto-unlock
|
i numlockx # Numlock auto-unlock
|
||||||
i rofi # HUD selector
|
i rofi # HUD selector
|
||||||
i rofi-moji # emoji selector
|
i rofimoji # emoji selector
|
||||||
i rxvt-unicode # Terminal emulator
|
i rxvt-unicode # Terminal emulator
|
||||||
i urxvt-resize-font-git # Resize fonts for urxvt
|
i urxvt-resize-font-git # Resize fonts for urxvt
|
||||||
i scrot # Screenshot taker
|
i scrot # Screenshot taker
|
||||||
|
|
|
@ -15,9 +15,14 @@ ADOTDIR=~/.cache/antigen
|
||||||
mkdir -p $ADOTDIR
|
mkdir -p $ADOTDIR
|
||||||
typeset -a ANTIGEN_CHECK_FILES=(~/.config/shell/zshrc)
|
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)
|
if [ -f /usr/share/zsh/share/antigen.zsh ]
|
||||||
# TODO If the downloaded file is wrong then we're doomed
|
then
|
||||||
source ~/.local/share/zsh/antigen.zsh
|
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
|
# 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
|
# pacman -S zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting zsh-completions --needed
|
||||||
|
|
|
@ -15,10 +15,6 @@ let g:ale_php_phpcs_standard = '/srv/http/machines/ruleset.xml'
|
||||||
|
|
||||||
nmap <F7> :UndotreeToggle<CR>
|
nmap <F7> :UndotreeToggle<CR>
|
||||||
|
|
||||||
""" TAGBAR """
|
|
||||||
|
|
||||||
nmap <F8> :TagbarToggle<CR>
|
|
||||||
|
|
||||||
""" VIM-AIRLINE """
|
""" VIM-AIRLINE """
|
||||||
|
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
@ -109,3 +105,17 @@ autocmd FileType * call LC_maps()
|
||||||
""" deoplete """
|
""" deoplete """
|
||||||
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
|
""" vista.vim """
|
||||||
|
|
||||||
|
nmap <F8> :Vista!!<CR>
|
||||||
|
let g:vista_icon_indent = ["▸ ", ""]
|
||||||
|
|
||||||
|
let g:vista#renderer#enable_icon = 0
|
||||||
|
|
||||||
|
" The default icons can't be suitable for all the filetypes, you can extend it as you wish.
|
||||||
|
let g:vista#renderer#icons = {
|
||||||
|
\ "function": "f",
|
||||||
|
\ "variable": "x",
|
||||||
|
\ }
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
Plug 'ludovicchabant/vim-gutentags'
|
Plug 'ludovicchabant/vim-gutentags'
|
||||||
Plug 'majutsushi/tagbar'
|
" Plug 'majutsushi/tagbar'
|
||||||
Plug 'wellle/targets.vim'
|
Plug 'wellle/targets.vim'
|
||||||
" Plug 'Chiel92/vim-autoformat'
|
" Plug 'Chiel92/vim-autoformat'
|
||||||
Plug 'tomtom/tcomment_vim'
|
Plug 'tomtom/tcomment_vim'
|
||||||
|
@ -83,5 +83,8 @@ Plug 'autozimu/LanguageClient-neovim', {
|
||||||
" Activity watch
|
" Activity watch
|
||||||
" (might not want this on every install)
|
" (might not want this on every install)
|
||||||
|
|
||||||
|
" Tag bar
|
||||||
|
Plug 'liuchengxu/vista.vim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue