Patch 9.0.1407
Problem:    TableGen files are not recognized.
Solution:   Add a pattern for TableGen files. (Amaan Qureshi, closes #12156)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1406/runtime/filetype.vim        2023-03-16 12:26:47.833245260 
+0000
--- runtime/filetype.vim        2023-03-16 15:51:31.586815876 +0000
***************
*** 2105,2110 ****
--- 2105,2113 ----
  " 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
*** ../vim-9.0.1406/src/testdir/test_filetype.vim       2023-03-16 
12:26:47.833245260 +0000
--- src/testdir/test_filetype.vim       2023-03-16 15:51:31.586815876 +0000
***************
*** 587,592 ****
--- 587,593 ----
      \ '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'],
*** ../vim-9.0.1406/src/version.c       2023-03-16 12:26:47.833245260 +0000
--- src/version.c       2023-03-16 15:52:33.995020541 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1407,
  /**/

-- 
    A KNIGHT rides into shot and hacks him to the ground.  He rides off.
    We stay for a moment on the glade.  A MIDDLE-AGED LADY in a C. & A.
    twin-set emerges from the trees and looks in horror at the body of her
    HUSBAND.
MRS HISTORIAN: FRANK!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230316155449.E3FEC1C0CA3%40moolenaar.net.

Raspunde prin e-mail lui