Patch 9.0.1407

3 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 16, 2023, 11:54:54 AM3/16/23
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages