mirror of
https://github.com/amix/vimrc
synced 2025-06-16 09:35:01 +08:00
add vim-jsx, vim-javascript
This commit is contained in:
16
sources_non_forked/vim-jsx/after/ftplugin/jsx.vim
Normal file
16
sources_non_forked/vim-jsx/after/ftplugin/jsx.vim
Normal file
@ -0,0 +1,16 @@
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" 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
|
Reference in New Issue
Block a user