(vim) Trim lang plugins in favor of coc integration

This commit is contained in:
Tanguy Herbron 2022-09-26 13:02:24 +02:00
parent 7e1024ff98
commit 9a921ec592
3 changed files with 26 additions and 35 deletions

View File

@ -2,6 +2,15 @@
"dependencies": { "dependencies": {
"coc-json": ">=1.3.6", "coc-json": ">=1.3.6",
"coc-tsserver": ">=1.8.6", "coc-tsserver": ">=1.8.6",
"coc-vetur": ">=1.2.5" "coc-vetur": ">=1.2.5",
} "coc-pyright": ">=1.1.272",
"coc-clangd": ">=0.25.0",
"coc-go": ">=1.3.0",
"coc-markdownlint": ">=1.26.0",
"coc-rust-analyzer": ">=0.68.2",
"coc-pairs": ">=1.3.2",
"coc-docker": ">=0.5.0"
},
"disabled": [],
"locked": []
} }

View File

@ -1,5 +1,8 @@
{ {
"suggest.noselect": false, "suggest.noselect": false,
"vetur.format.options.tabSize": 4, "vetur.format.options.tabSize": 4,
"vetur.format.options.useTabs": true "vetur.format.options.useTabs": true,
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.procMacro.attributes.enable": true,
"rust-analyzer.diagnostics.disabled": ["unresolved-proc-macro"]
} }

View File

@ -1,61 +1,36 @@
call plug#begin('~/.config/nvim/plugged') call plug#begin('~/.config/nvim/plugged')
Plug 'preservim/NERDTree' " Ayu color scheme
Plug 'majutsushi/tagbar' Plug 'TanguyHerbron/ayu-vim'
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'junegunn/fzf'
Plug 'Shougo/neocomplete.vim'
" Display indents " Display indents
Plug 'yggdroot/indentline' Plug 'yggdroot/indentline'
Plug 'Townk/vim-autoclose'
Plug 'vim-syntastic/syntastic'
Plug 'yuezk/vim-js' Plug 'yuezk/vim-js'
" Autocompletion " Autocompletion
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Replacement for coc.vim (auto complete)
" Plug 'ycm-core/YouCompleteMe'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'ctrlpvim/ctrlp.vim' Plug 'ctrlpvim/ctrlp.vim'
Plug 'ryanoasis/vim-devicons' Plug 'ryanoasis/vim-devicons'
" Vue syntax highlighter
Plug 'posva/vim-vue'
" Grep utility for whole project " Grep utility for whole project
Plug 'jremmen/vim-ripgrep' Plug 'jremmen/vim-ripgrep'
" Git integration " Git integration
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'chrisbra/Colorizer' Plug 'rrethy/vim-hexokinase', {'do': 'make hexokinase'}
" Ctrl-z tree still history manager " Ctrl-z tree still history manager
Plug 'mbbill/undotree' Plug 'mbbill/undotree'
" Python auto completion engine
Plug 'davidhalter/jedi-vim'
" LaTeX plugin
Plug 'lervag/vimtex'
" Dockerfile syntax highlighter
Plug 'ekalinin/Dockerfile.vim'
" docker-compose wrapper " docker-compose wrapper
Plug 'skanehira/docker-compose.vim' Plug 'skanehira/docker-compose.vim'
" Nginx syntax highlighter " Nginx syntax highlighter
Plug 'chr4/nginx.vim' Plug 'chr4/nginx.vim'
" Ayu color scheme
Plug 'TanguyHerbron/ayu-vim'
" Nvim in the browser
Plug 'glacambre/firenvim', {'do': { _ -> firenvim#install(0) }}
" Highlight indicator " Highlight indicator
Plug 'machakann/vim-highlightedyank' Plug 'machakann/vim-highlightedyank'
@ -63,10 +38,14 @@ Plug 'machakann/vim-highlightedyank'
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
" React syntax highlighter " React syntax highlighter
Plug 'maxmellon/vim-jsx-pretty'
" Rust configuration plugin " i3 config checker
" Plug 'rust-lang/rust.vim' Plug 'mboughaba/i3config.vim'
" Testing disable section
"" Deprecated, replace by coc feature ?
" Plug 'lervag/vimtex'
" Plug 'ekalinin/Dockerfile.vim'
call plug#end() call plug#end()