diff --git a/vimrc b/vimrc index 6e47116..503b09d 100644 --- a/vimrc +++ b/vimrc @@ -1,7 +1,9 @@ " Gestione plugin con vim-plug call plug#begin() +" Base for plugin management Plug 'junegunn/vim-plug' +" Standard vim packages Plug 'tpope/vim-sensible' Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' @@ -16,29 +18,45 @@ Plug 'scrooloose/nerdtree' " nerdtree git plugin Plug 'Xuyuanp/nerdtree-git-plugin' -" Ansible syntax highlight -Plug 'pearofducks/ansible-vim' - -" ALE - linting, fixing and completion -Plug 'dense-analysis/ale' - -" Blade syntax highlight -Plug 'xsbeats/vim-blade' - -" HTML 5 template -Plug 'othree/html5.vim' - -" latex stuff +" Snippets management and support for vim Plug 'SirVer/ultisnips' Plug 'honza/vim-snippets' -Plug 'lervag/vimtex' -Plug 'ckunte/latex-snippets-vim', { 'tag': '*' } -Plug 'hashivim/vim-terraform' +" Conqueror of Completion +Plug 'neoclide/coc.nvim', {'branch': 'release'} + +" Shell Conqueror of Completion plugin +Plug 'josa42/coc-sh', { 'do': 'yarn install --frozen-lockfile' } + +" Python +Plug 'fannheyward/coc-pyright', { 'do': 'yarn install --frozen-lockfile' } + +" Ansible +Plug 'pearofducks/ansible-vim' " syntax highlight +Plug 'dense-analysis/ale' " ALE - linting, fixing and completion +Plug 'yaegassy/coc-ansible', {'do': 'yarn install --frozen-lockfile'} " Rust Plug 'rust-lang/rust.vim' Plug 'zooxyt/Ultisnips-rust' +Plug 'fannheyward/coc-rust-analyzer', { 'do': 'yarn install --frozen-lockfile' } + +" latex stuff +Plug 'lervag/vimtex' +Plug 'ckunte/latex-snippets-vim', { 'tag': '*' } +Plug 'neoclide/coc-vimtex', { 'do': 'yarn install --frozen-lockfile' } + +" HTML 5 template +Plug 'othree/html5.vim' +" +" Blade syntax highlight +Plug 'xsbeats/vim-blade' + +" terraform syntax highlight +Plug 'hashivim/vim-terraform' + + +""" Aesthetic fixes """ " Devicons Plug 'ryanoasis/vim-devicons' @@ -50,13 +68,6 @@ Plug 'vim-airline/vim-airline-themes' " Solarized theme Plug 'altercation/vim-colors-solarized' -" Conqueror of Completion -Plug 'neoclide/coc.nvim', {'branch': 'release'} -Plug 'josa42/coc-sh', { 'do': 'yarn install --frozen-lockfile' } -Plug 'yaegassy/coc-ansible', {'do': 'yarn install --frozen-lockfile'} -Plug 'fannheyward/coc-pyright', { 'do': 'yarn install --frozen-lockfile' } -Plug 'fannheyward/coc-rust-analyzer', { 'do': 'yarn install --frozen-lockfile' } - " Vim-plug configuration end call plug#end() @@ -138,4 +149,4 @@ let g:coc_filetype_map = { let g:vimtex_view_method = 'zathura' " Ultisnips configuration -let g:UltiSnipsExpandTrigger = '' +let g:UltiSnipsExpandTrigger = ''