annotate runtime/ftplugin/typescriptreact.vim @ 26151:5a1850512676 v8.2.3607

patch 8.2.3607: GTK3 screen updating is slow Commit: https://github.com/vim/vim/commit/9459b8d461d6f8345bfa3fb9b3b4297a7950b0bc Author: presuku <presuku@users.noreply.github.com> Date: Tue Nov 16 20:03:56 2021 +0000 patch 8.2.3607: GTK3 screen updating is slow Problem: GTK3 screen updating is slow. Solution: Remove some of the GTK3-specific code. (closes https://github.com/vim/vim/issues/9052)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Nov 2021 21:15:02 +0100
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