Conditionally enable plugins on Windows
This commit is contained in:
parent
f68769accf
commit
f86447e378
20
vimrc
20
vimrc
@ -28,8 +28,10 @@ if !platform#is_windows()
|
||||
let g:ycm_error_symbol="-▸"
|
||||
let g:ycm_warning_symbol="-▸"
|
||||
endif
|
||||
" ultisnips - snippet engine
|
||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
if has('python')
|
||||
" ultisnips - snippet engine
|
||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
endif
|
||||
" vim-cmake-completion - completion & help
|
||||
Plug 'richq/vim-cmake-completion', {'for': ['cmake']}
|
||||
" vimomni - Completion for vimscript
|
||||
@ -42,11 +44,13 @@ let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_python_checkers = ['pylint']
|
||||
|
||||
" format.vim - format with text objects
|
||||
if isdirectory(expand('~/Sandbox/format'))
|
||||
if has('python')
|
||||
" format.vim - format with text objects
|
||||
if isdirectory(expand('~/Sandbox/format'))
|
||||
Plug '~/Sandbox/format'
|
||||
else
|
||||
else
|
||||
Plug 'git@bitbucket.org:infektor/format.vim.git'
|
||||
endif
|
||||
endif
|
||||
|
||||
" vim-textobj-user - library for creating text objects
|
||||
@ -85,8 +89,10 @@ Plug 'tpope/vim-speeddating'
|
||||
Plug 'tpope/vim-jdaddy'
|
||||
|
||||
" fzf.vim - Fuzzy finder
|
||||
Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all --no-update-rc'}
|
||||
Plug 'junegunn/fzf.vim'
|
||||
if !platform#is_windows()
|
||||
Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all --no-update-rc'}
|
||||
Plug 'junegunn/fzf.vim'
|
||||
endif
|
||||
|
||||
" vim-notes - easy note taking {{{
|
||||
Plug 'xolox/vim-notes' | Plug 'xolox/vim-misc'
|
||||
|
Loading…
x
Reference in New Issue
Block a user