annotate runtime/ftplugin/typescriptreact.vim @ 22212:36af5cb8413c v8.2.1655

patch 8.2.1655: cannot build with Strawberry Perl 5.32.0 Commit: https://github.com/vim/vim/commit/895a7a472d2eb4413e63cdad3213cb1ef1633458 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 10 21:36:11 2020 +0200 patch 8.2.1655: cannot build with Strawberry Perl 5.32.0 Problem: Cannot build with Strawberry Perl 5.32.0. Solution: Use Perl_sv_2pvbyte_flags. (closes https://github.com/vim/vim/issues/6921)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Sep 2020 21:45:03 +0200
parents 0db0640e16e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21825
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: TypeScript React
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Change: 2020 Aug 09
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 let s:match_words = ""
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 let s:undo_ftplugin = ""
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 runtime! ftplugin/typescript.vim
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 let s:cpo_save = &cpo
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 set cpo-=C
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 if exists("b:match_words")
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 let s:match_words = b:match_words
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 endif
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 if exists("b:undo_ftplugin")
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let s:undo_ftplugin = b:undo_ftplugin
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 endif
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 " Matchit configuration
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 if exists("loaded_matchit")
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 let b:match_ignorecase = 0
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 let b:match_words = s:match_words .
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 \ '<:>,' .
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 \ '<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,' .
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 \ '<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>'
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 endif
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase | " . s:undo_ftplugin
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 let &cpo = s:cpo_save
0db0640e16e0 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 unlet s:cpo_save