view runtime/ftplugin/typescriptreact.vim @ 32879:49e4d7aa402c v9.0.1748

patch 9.0.1748: CI: cannot label issues automatically Commit: https://github.com/vim/vim/commit/6d192a4ac9ba600ec28eb86d2cc45dea67f5922b Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Aug 19 14:30:47 2023 +0200 patch 9.0.1748: CI: cannot label issues automatically Problem: CI: cannot label issues automatically Solution: Create CI labeler closes: #12788 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 15:00:05 +0200
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