vscode performance

This commit is contained in:
Niccolo Borgioli 2022-04-07 15:42:55 +02:00
parent 30928bcc27
commit 22f6449a49
No known key found for this signature in database
GPG Key ID: 81C683415BBD86B0

View File

@ -19,13 +19,16 @@ nmap <Space> <Plug>(easymotion-bd-w)
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox' function! Cond(cond, ...)
Plug 'scrooloose/nerdtree' let opts = get(a:000, 0, {})
Plug 'itchyny/lightline.vim' return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
Plug 'junegunn/fzf' endfunction
Plug 'junegunn/fzf.vim'
Plug 'editorconfig/editorconfig-vim' Plug 'morhetz/gruvbox', Cond(!exists('g:vscode'))
Plug 'asvetliakov/vim-easymotion' Plug 'scrooloose/nerdtree', Cond(!exists('g:vscode'))
Plug 'itchyny/lightline.vim', Cond(!exists('g:vscode'))
Plug 'editorconfig/editorconfig-vim', Cond(!exists('g:vscode'))
Plug 'asvetliakov/vim-easymotion', Cond(exists('g:vscode'), { 'as': 'vsc-easymotion' })
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
call plug#end() call plug#end()