diff runtime/filetype.vim @ 32152:affa1f55a761 v9.0.1407

patch 9.0.1407: TableGen files are not recognized Commit: https://github.com/vim/vim/commit/b8ef029ee416fc2b402c3f321a55c9049b0ad2a9 Author: Amaan Qureshi <amaanq12@gmail.com> Date: Thu Mar 16 15:54:18 2023 +0000 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 https://github.com/vim/vim/issues/12156)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Mar 2023 17:00:03 +0100
parents 3923c5051b87
children 8be608cee6e3
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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