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