Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
32151:0538bf460cfa | 32152:affa1f55a761 |
---|---|
2103 au BufNewFile,BufRead *.svg setf svg | 2103 au BufNewFile,BufRead *.svg setf svg |
2104 | 2104 |
2105 " Surface | 2105 " Surface |
2106 au BufRead,BufNewFile *.sface setf surface | 2106 au BufRead,BufNewFile *.sface setf surface |
2107 | 2107 |
2108 " LLVM TableGen | |
2109 au BufNewFile,BufRead *.td setf tablegen | |
2110 | |
2108 " Tads (or Nroff or Perl test file) | 2111 " Tads (or Nroff or Perl test file) |
2109 au BufNewFile,BufRead *.t | 2112 au BufNewFile,BufRead *.t |
2110 \ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif | 2113 \ if !dist#ft#FTnroff() && !dist#ft#FTperl() | setf tads | endif |
2111 | 2114 |
2112 " Tags | 2115 " Tags |