Using LanguageClient
This commit is contained in:
		
							parent
							
								
									c8aaa78f59
								
							
						
					
					
						commit
						6e701541ca
					
				
					 7 changed files with 40 additions and 20 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| skin-tone = neutral | ||||
| files = [emojis, greek] | ||||
| files = [emojis, math] | ||||
| insert-with-clipboard = true | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,13 +9,12 @@ sudo etckeeper commit "install-arch script: begin" | |||
| # Install yay | ||||
| # TODO Use yay-bin | ||||
| sudo pacman -S base-devel --needed | ||||
| if ! pacman -Q yay &> /dev/null | ||||
| if ! pacman -Q yay-bin &> /dev/null | ||||
| then | ||||
|     sudo pacman -S go-pie --needed | ||||
|     mkdir -p $HOME/.cache/yay | ||||
|     cd $HOME/.cache/yay | ||||
|     curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar xzvf - | ||||
|     cd yay | ||||
|     curl -L https://aur.archlinux.org/cgit/aur.git/snapshot/yay-bin.tar.gz | tar xzvf - | ||||
|     cd yay-bin | ||||
|     makepkg -si | ||||
| fi | ||||
| 
 | ||||
|  |  | |||
|  | @ -23,6 +23,9 @@ fi | |||
| changeColors monokai | ||||
| vim +PlugUpgrade +PlugUpdate +PlugInstall +qall | ||||
| 
 | ||||
| systemctl enable pulseaudio --user --now | ||||
| systemctl enable mpd --user --now | ||||
| 
 | ||||
| echo '# Alt keys on keypad | ||||
| # In /usr/share/X11/xkb/symbols/us_qwerty-fr add: | ||||
| # 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 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-completions # Shell completions | ||||
| i zsh-history-substring-search # Shell config | ||||
|  | @ -190,6 +191,7 @@ then | |||
|     i pacman-contrib # Pactree and more | ||||
|     i shred # Delete sensititve data | ||||
|     i android-tools && i android-udev # Android Debug Bridge | ||||
|     i tigervnc # Remote desktop | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
|  | @ -218,6 +220,7 @@ then | |||
|     # Python | ||||
|     i python-language-server # Python language server | ||||
|     i mypy && i pyls-mypy # Static typing checker for Python | ||||
|     i python-language-server-black # Python code formatter | ||||
| 
 | ||||
|     # Bash | ||||
|     i bash-language-server # Bash / SH language server | ||||
|  | @ -311,11 +314,7 @@ fi | |||
| if $INSTALL_GUI | ||||
| then | ||||
|     i firefox # Web browser | ||||
|     i firefox-dark-reader # Firefox extension: dark theme everywhere | ||||
|     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 | ||||
|     # Extensions: Dark reader, Decentraleyes, Tridactyl, uBlock Origin, Containers, No Tab | ||||
| 
 | ||||
|     i xkb-qwerty-fr # French QWERTY disposition | ||||
|     i thunar # Directory browser (just in case) | ||||
|  | @ -327,6 +326,7 @@ then | |||
|     i adobe-source-han-sans-otc-fonts # Chinese/Japanese/Korean fonts | ||||
|     i sox # For beeps and stuff | ||||
|     i meld # For comparison | ||||
|     i python-magic # Dependency of o | ||||
| 
 | ||||
|     if $INSTALL_X | ||||
|     then | ||||
|  | @ -336,7 +336,7 @@ then | |||
|         i i3lock # Locker | ||||
|         i numlockx # Numlock auto-unlock | ||||
|         i rofi # HUD selector | ||||
|         i rofi-moji # emoji selector | ||||
|         i rofimoji # emoji selector | ||||
|         i rxvt-unicode # Terminal emulator | ||||
|         i urxvt-resize-font-git # Resize fonts for urxvt | ||||
|         i scrot # Screenshot taker | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -15,10 +15,6 @@ let g:ale_php_phpcs_standard = '/srv/http/machines/ruleset.xml' | |||
| 
 | ||||
| nmap <F7> :UndotreeToggle<CR> | ||||
| 
 | ||||
| """ TAGBAR """ | ||||
| 
 | ||||
| nmap <F8> :TagbarToggle<CR> | ||||
| 
 | ||||
| """ VIM-AIRLINE """ | ||||
| 
 | ||||
| set noshowmode | ||||
|  | @ -109,3 +105,17 @@ autocmd FileType * call LC_maps() | |||
| """ deoplete """ | ||||
| 
 | ||||
| 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 'mbbill/undotree' | ||||
| Plug 'ludovicchabant/vim-gutentags' | ||||
| Plug 'majutsushi/tagbar' | ||||
| " Plug 'majutsushi/tagbar' | ||||
| Plug 'wellle/targets.vim' | ||||
| " Plug 'Chiel92/vim-autoformat' | ||||
| Plug 'tomtom/tcomment_vim' | ||||
|  | @ -83,5 +83,8 @@ Plug 'autozimu/LanguageClient-neovim', { | |||
| " Activity watch | ||||
| " (might not want this on every install) | ||||
| 
 | ||||
| " Tag bar | ||||
| Plug 'liuchengxu/vista.vim' | ||||
| 
 | ||||
| call plug#end() | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue