summaryrefslogblamecommitdiffstats
path: root/after/ftplugin/jsx.vim
blob: a5682895dd87fb02f1b861fb280ef30a7799c4b8 (plain) (tree)
1
2
3
4
5
6
7

                                                                            




                                                                           






                                                                           
                                                              


                          

     
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsx') == -1
  
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim ftplugin file
"
" Language: JSX (JavaScript)
" Maintainer: Max Wang <mxawng@gmail.com>
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

" modified from html.vim
if exists("loaded_matchit")
  let b:match_ignorecase = 0
  let b:match_words = '(:),\[:\],{:},<:>,' .
        \ '<\@<=\([^/][^ \t>]*\)[^>]*\%(/\@<!>\|$\):<\@<=/\1>'
endif

setlocal suffixesadd+=.jsx

endif