mirror of
https://github.com/zoriya/vim.git
synced 2026-06-05 21:00:21 +00:00
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
|
" Surface
|
||||||
au BufRead,BufNewFile *.sface setf surface
|
au BufRead,BufNewFile *.sface setf surface
|
||||||
|
|
||||||
|
" LLVM TableGen
|
||||||
|
au BufNewFile,BufRead *.td setf tablegen
|
||||||
|
|
||||||
" Tads (or Nroff or Perl test file)
|
" Tads (or Nroff or Perl test file)
|
||||||
au BufNewFile,BufRead *.t
|
au BufNewFile,BufRead *.t
|
||||||
\ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif
|
\ 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'],
|
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
|
||||||
\ 'taskedit': ['file.task'],
|
\ 'taskedit': ['file.task'],
|
||||||
\ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'],
|
\ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'],
|
||||||
|
\ 'tablegen': ['file.td'],
|
||||||
\ 'teal': ['file.tl'],
|
\ 'teal': ['file.tl'],
|
||||||
\ 'template': ['file.tmpl'],
|
\ 'template': ['file.tmpl'],
|
||||||
\ 'teraterm': ['file.ttl'],
|
\ 'teraterm': ['file.ttl'],
|
||||||
|
|||||||
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1407,
|
||||||
/**/
|
/**/
|
||||||
1406,
|
1406,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user