Riordinato vimrc.

This commit is contained in:
Emiliano Vavassori 2023-05-18 22:20:06 +02:00
parent 37a6b4cbe5
commit 15428a88f7

59
vimrc
View File

@ -1,7 +1,9 @@
" Gestione plugin con vim-plug " Gestione plugin con vim-plug
call plug#begin() call plug#begin()
" Base for plugin management
Plug 'junegunn/vim-plug' Plug 'junegunn/vim-plug'
" Standard vim packages
Plug 'tpope/vim-sensible' Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
@ -16,29 +18,45 @@ Plug 'scrooloose/nerdtree'
" nerdtree git plugin " nerdtree git plugin
Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'Xuyuanp/nerdtree-git-plugin'
" Ansible syntax highlight " Snippets management and support for vim
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
Plug 'SirVer/ultisnips' Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets' 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 " Rust
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'zooxyt/Ultisnips-rust' 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 " Devicons
Plug 'ryanoasis/vim-devicons' Plug 'ryanoasis/vim-devicons'
@ -50,13 +68,6 @@ Plug 'vim-airline/vim-airline-themes'
" Solarized theme " Solarized theme
Plug 'altercation/vim-colors-solarized' 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 " Vim-plug configuration end
call plug#end() call plug#end()
@ -138,4 +149,4 @@ let g:coc_filetype_map = {
let g:vimtex_view_method = 'zathura' let g:vimtex_view_method = 'zathura'
" Ultisnips configuration " Ultisnips configuration
let g:UltiSnipsExpandTrigger = '<Tab>' let g:UltiSnipsExpandTrigger = '<Tab>'