forked from aniani/vim
patch 9.1.0253: filetype: typespec files are not recognized
Problem: filetype: typespec files are not recognized Solution: Detect '*.tsp' files as typespec (Hilmar Wiegand) Specs is at https://typespec.io/ closes: #14392 Signed-off-by: Hilmar Wiegand <me@hwgnd.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
cc7597c1ed
commit
6c9f4f98f1
@@ -2373,6 +2373,9 @@ au BufNewFile,BufRead *.mts,*.cts setf typescript
|
||||
" TypeScript with React
|
||||
au BufNewFile,BufRead *.tsx setf typescriptreact
|
||||
|
||||
" TypeSpec files
|
||||
au BufNewFile,BufRead *.tsp setf typespec
|
||||
|
||||
" Motif UIT/UIL files
|
||||
au BufNewFile,BufRead *.uit,*.uil setf uil
|
||||
|
||||
|
@@ -756,6 +756,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
typescript: ['file.mts', 'file.cts'],
|
||||
'typescript.glimmer': ['file.gts'],
|
||||
typescriptreact: ['file.tsx'],
|
||||
typespec: ['file.tsp'],
|
||||
ungrammar: ['file.ungram'],
|
||||
uc: ['file.uc'],
|
||||
udevconf: ['/etc/udev/udev.conf', 'any/etc/udev/udev.conf'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
253,
|
||||
/**/
|
||||
252,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user