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
1 changed files with 10 additions and 7 deletions

View File

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