summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-03-16 15:54:18 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-16 15:54:18 +0000
commitb8ef029ee416fc2b402c3f321a55c9049b0ad2a9 (patch)
treee9d81607b388aebcd94f681fc137419981aa5a55 /runtime
parente202ec8a0c89e8ef47a3d38e668b7326fa68510a (diff)
downloadvim-git-b8ef029ee416fc2b402c3f321a55c9049b0ad2a9.tar.gz
patch 9.0.1407: TableGen files are not recognizedv9.0.1407
Problem: TableGen files are not recognized. Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index ada48bde9..0b9e95284 100644
--- 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