diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-09-09 18:48:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-09 18:48:12 +0200 |
| commit | 9b0e1256e25d387bf65cb9baa1edd99fbc128724 (patch) | |
| tree | 216990519c62fb6f877e2781987d3303049009c1 /runtime/filetype.vim | |
| parent | ad2d6a624b10a52cdcfb7fdd9d8b1be24b13ed83 (diff) | |
| download | rneovim-9b0e1256e25d387bf65cb9baa1edd99fbc128724.tar.gz rneovim-9b0e1256e25d387bf65cb9baa1edd99fbc128724.tar.bz2 rneovim-9b0e1256e25d387bf65cb9baa1edd99fbc128724.zip | |
vim-patch:9.0.0427: Drupal theme files are not recognized (#20138)
Problem: Drupal theme files are not recognized.
Solution: Use php filetype for Drupl theme files. Remove trailing spaces.
(Rodrigo Aguilera, closes vim/vim#11096)
https://github.com/vim/vim/commit/8995c4cd4e697141faf74da9a87e0c1221bfb161
Diffstat (limited to 'runtime/filetype.vim')
| -rw-r--r-- | runtime/filetype.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index b74905416a..c98bc737af 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1324,7 +1324,7 @@ au BufNewFile,BufRead *.or setf openroad au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl " OpenSCAD -au BufNewFile,BufRead *.scad setf openscad +au BufNewFile,BufRead *.scad setf openscad " Oracle config file au BufNewFile,BufRead *.ora setf ora @@ -1399,7 +1399,8 @@ au BufNewFile,BufRead *.pod setf pod " Also Phtml (was used for PHP 2 in the past). " Also .ctp for Cake template file. " Also .phpt for php tests. -au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt setf php +" Also .theme for Drupal theme files. +au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt,*.theme setf php " PHP config au BufNewFile,BufRead php.ini-* setf dosini |