Browse Source

Add javascript/jsx syntax support

Thomas Dy 9 years ago
parent
commit
2231de71bf
1 changed files with 7 additions and 0 deletions
  1. 7 0
      .vimrc

+ 7 - 0
.vimrc

@@ -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