install-new-server.sh update Go & Nodejs versions, fix small issues. Update init.vim

This commit is contained in:
arnaucube
2019-06-01 11:49:42 +02:00
parent 13441bc72b
commit 2ef135e5c1
2 changed files with 19 additions and 36 deletions

View File

@@ -17,7 +17,7 @@ Plug 'Raimondi/delimitMate'
Plug 'majutsushi/tagbar'
" rainbow parentheses
Plug 'kien/rainbow_parentheses.vim'
Plug 'luochen1990/rainbow'
" go
Plug 'fatih/vim-go' " Amazing combination of features.
@@ -45,6 +45,10 @@ Plug 'zchee/deoplete-go', {'build': {'unix': 'make'}}
" neosnippet with deoplete
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
" automatically adjust shiftwidth and expand tab based on current file
Plug 'tpope/vim-sleuth'
let g:deoplete#enable_at_startup = 1
" Plugin deoplete neosnippet key-mappings.
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
@@ -58,6 +62,8 @@ Plug 'tomasr/molokai'
Plug 'srcery-colors/srcery-vim'
Plug 'rakr/vim-one'
Plug 'morhetz/gruvbox'
Plug 'toupeira/vim-desertink'
Plug 'maksimr/Lucius2'
let g:srcery_italic = 1
@@ -163,30 +169,7 @@ let g:syntastic_python_checkers = []
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
" rainbowparentheses
let g:rbpt_colorpairs = [
\ ['brown', 'RoyalBlue3'],
\ ['Darkblue', 'SeaGreen3'],
\ ['darkgray', 'DarkOrchid3'],
\ ['darkgreen', 'firebrick3'],
\ ['darkcyan', 'RoyalBlue3'],
\ ['darkred', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['brown', 'firebrick3'],
\ ['gray', 'RoyalBlue3'],
\ ['black', 'SeaGreen3'],
\ ['darkmagenta', 'DarkOrchid3'],
\ ['Darkblue', 'firebrick3'],
\ ['darkgreen', 'RoyalBlue3'],
\ ['darkcyan', 'SeaGreen3'],
\ ['darkred', 'DarkOrchid3'],
\ ['red', 'firebrick3'],
\ ]
let g:rbt_max = 16
let g:rbpt_loadcmd_toggle = 0
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
let g:rainbow_active = 1
" abbreviations
cnoreabbrev W! w!