summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNao Ueda <nao.uedder@gmail.com>2020-02-03 07:39:10 +0900
committerNao Ueda <nao.uedder@gmail.com>2020-02-03 07:39:10 +0900
commit49fc8bfdf636b6599be7eb30ce6634c7fa48ef69 (patch)
treedd192375a81e02ebbcd066bad42748868e63e291
parentb05c997cb665337e05ef890488205f87a5944d81 (diff)
downloadvimrc-49fc8bfdf636b6599be7eb30ce6634c7fa48ef69.tar.gz
vimrc-49fc8bfdf636b6599be7eb30ce6634c7fa48ef69.tar.bz2
vimrc-49fc8bfdf636b6599be7eb30ce6634c7fa48ef69.zip
If no python3 then disable ultisnips.
-rw-r--r--vimrc16
1 files changed, 10 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index d061403..f6468f4 100644
--- a/vimrc
+++ b/vimrc
@@ -76,18 +76,22 @@ let g:plug_shallow = 0
call plug#begin('~/.vim/plugged')
-" for language server
-" see: https://github.com/prabirshrestha/vim-lsp/wiki/Servers
-" see: https://github.com/prabirshrestha/asyncomplete.vim
-"
-Plug 'SirVer/ultisnips'
+if has('python3')
+ " 無効化しておかないとうるさい
+ Plug 'SirVer/ultisnips'
+endif
+
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
Plug 'thomasfaingnaert/vim-lsp-snippets'
-Plug 'thomasfaingnaert/vim-lsp-ultisnips'
+
+if has('python3')
+ Plug 'thomasfaingnaert/vim-lsp-ultisnips'
+endif
+
" Plug 'yami-beta/asyncomplete-omni.vim'
Plug 'machakann/asyncomplete-ezfilter.vim'
" ALE