|
@@ -27,6 +27,11 @@ if executable('rustc')
|
|
|
Plug 'rust-lang/rust.vim'
|
|
|
endif
|
|
|
|
|
|
+if executable('npm')
|
|
|
+ Plug 'pangloss/vim-javascript'
|
|
|
+ Plug 'mxw/vim-jsx'
|
|
|
+endif
|
|
|
+
|
|
|
Plug 'trusktr/seti.vim'
|
|
|
|
|
|
call plug#end()
|
|
@@ -34,6 +39,8 @@ call plug#end()
|
|
|
" ----- plugin settings ------
|
|
|
let g:signify_vcs_list = [ 'git' ]
|
|
|
|
|
|
+let g:jsx_ext_required = 0
|
|
|
+
|
|
|
if executable('ag')
|
|
|
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore
|
|
|
" we cd first into the dir so ag will use .agignore correctly
|