forked from aniani/vim
patch 9.0.1407: TableGen files are not recognized
Problem: TableGen files are not recognized. Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156)
This commit is contained in:
committed by
Bram Moolenaar
parent
e202ec8a0c
commit
b8ef029ee4
@@ -2105,6 +2105,9 @@ au BufNewFile,BufRead *.svg setf svg
|
||||
" Surface
|
||||
au BufRead,BufNewFile *.sface setf surface
|
||||
|
||||
" LLVM TableGen
|
||||
au BufNewFile,BufRead *.td setf tablegen
|
||||
|
||||
" Tads (or Nroff or Perl test file)
|
||||
au BufNewFile,BufRead *.t
|
||||
\ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif
|
||||
|
||||
@@ -587,6 +587,7 @@ let s:filename_checks = {
|
||||
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
|
||||
\ 'taskedit': ['file.task'],
|
||||
\ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'],
|
||||
\ 'tablegen': ['file.td'],
|
||||
\ 'teal': ['file.tl'],
|
||||
\ 'template': ['file.tmpl'],
|
||||
\ 'teraterm': ['file.ttl'],
|
||||
|
||||
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1407,
|
||||
/**/
|
||||
1406,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user