Mercurial > vim
comparison runtime/filetype.vim @ 30182:4d3c7b4927f2 v9.0.0427
patch 9.0.0427: Drupal theme files are not recognized
Commit: https://github.com/vim/vim/commit/8995c4cd4e697141faf74da9a87e0c1221bfb161
Author: Rodrigo Aguilera <hi@rodrigoaguilera.net>
Date: Fri Sep 9 16:10:26 2022 +0100
patch 9.0.0427: Drupal theme files are not recognized
Problem: Drupal theme files are not recognized.
Solution: Use php filetype for Drupl theme files. Remove trailing spaces.
(Rodrigo Aguilera, closes #11096)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Sep 2022 17:15:03 +0200 |
parents | 042513ec99d7 |
children | 381462ee23fd |
comparison
equal
deleted
inserted
replaced
30181:b6f2c4011ee1 | 30182:4d3c7b4927f2 |
---|---|
1321 | 1321 |
1322 " OPL | 1322 " OPL |
1323 au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl | 1323 au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl |
1324 | 1324 |
1325 " OpenSCAD | 1325 " OpenSCAD |
1326 au BufNewFile,BufRead *.scad setf openscad | 1326 au BufNewFile,BufRead *.scad setf openscad |
1327 | 1327 |
1328 " Oracle config file | 1328 " Oracle config file |
1329 au BufNewFile,BufRead *.ora setf ora | 1329 au BufNewFile,BufRead *.ora setf ora |
1330 | 1330 |
1331 " Org | 1331 " Org |
1396 | 1396 |
1397 " Php, php3, php4, etc. | 1397 " Php, php3, php4, etc. |
1398 " Also Phtml (was used for PHP 2 in the past). | 1398 " Also Phtml (was used for PHP 2 in the past). |
1399 " Also .ctp for Cake template file. | 1399 " Also .ctp for Cake template file. |
1400 " Also .phpt for php tests. | 1400 " Also .phpt for php tests. |
1401 au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt setf php | 1401 " Also .theme for Drupal theme files. |
1402 au BufNewFile,BufRead *.php,*.php\d,*.phtml,*.ctp,*.phpt,*.theme setf php | |
1402 | 1403 |
1403 " PHP config | 1404 " PHP config |
1404 au BufNewFile,BufRead php.ini-* setf dosini | 1405 au BufNewFile,BufRead php.ini-* setf dosini |
1405 | 1406 |
1406 " Pike and Cmod | 1407 " Pike and Cmod |