1" Vim filetype plugin file
2" Language:	TypeScript React
3" Maintainer:	Doug Kearns <[email protected]>
4" Last Change:	2020 Aug 09
5
6let s:match_words = ""
7let s:undo_ftplugin = ""
8
9runtime! ftplugin/typescript.vim
10
11let s:cpo_save = &cpo
12set cpo-=C
13
14if exists("b:match_words")
15    let s:match_words = b:match_words
16endif
17if exists("b:undo_ftplugin")
18    let s:undo_ftplugin = b:undo_ftplugin
19endif
20
21" Matchit configuration
22if exists("loaded_matchit")
23    let b:match_ignorecase = 0
24    let b:match_words = s:match_words .
25		\	'<:>,' .
26		\	'<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,' .
27		\	'<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>'
28endif
29
30let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase | " . s:undo_ftplugin
31
32let &cpo = s:cpo_save
33unlet s:cpo_save
34