view runtime/ftplugin/typescriptreact.vim @ 22922:5d8990ad211e v8.2.2008

patch 8.2.2008: MS-Windows GUI: handling channel messages lags Commit: https://github.com/vim/vim/commit/032f40afb88b24043f96655aa248267a4f54faa8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 18 15:21:50 2020 +0100 patch 8.2.2008: MS-Windows GUI: handling channel messages lags Problem: MS-Windows GUI: handling channel messages lags. Solution: Reduce the wait time from 100 to 10 msec. (closes https://github.com/vim/vim/issues/7097)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Nov 2020 15:30:04 +0100
parents 0db0640e16e0
children
line wrap: on
line source

" Vim filetype plugin file
" Language:	TypeScript React
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Aug 09

let s:match_words = ""
let s:undo_ftplugin = ""

runtime! ftplugin/typescript.vim

let s:cpo_save = &cpo
set cpo-=C

if exists("b:match_words")
    let s:match_words = b:match_words
endif
if exists("b:undo_ftplugin")
    let s:undo_ftplugin = b:undo_ftplugin
endif

" Matchit configuration
if exists("loaded_matchit")
    let b:match_ignorecase = 0
    let b:match_words = s:match_words .
		\	'<:>,' .
		\	'<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,' .
		\	'<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>'
endif

let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase | " . s:undo_ftplugin

let &cpo = s:cpo_save
unlet s:cpo_save