forked from aniani/vim
patch 9.0.0599: latexmkrc files are not recognized
Problem: Latexmkrc files are not recognized. Solution: Use Perl filetype for latexmkrc files. (closes #11241)
This commit is contained in:
committed by
Bram Moolenaar
parent
8279af514c
commit
cde0319385
@@ -1026,6 +1026,9 @@ au BufNewFile,BufRead Kconfig,Kconfig.debug setf kconfig
|
||||
" Lace (ISE)
|
||||
au BufNewFile,BufRead *.ace,*.ACE setf lace
|
||||
|
||||
" Latexmkrc
|
||||
au BufNewFile,BufRead .latexmkrc,latexmkrc setf perl
|
||||
|
||||
" Latte
|
||||
au BufNewFile,BufRead *.latte,*.lte setf latte
|
||||
|
||||
|
@@ -413,7 +413,7 @@ let s:filename_checks = {
|
||||
\ 'pccts': ['file.g'],
|
||||
\ 'pcmk': ['file.pcmk'],
|
||||
\ 'pdf': ['file.pdf'],
|
||||
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc'],
|
||||
\ 'perl': ['file.plx', 'file.al', 'file.psgi', 'gitolite.rc', '.gitolite.rc', 'example.gitolite.rc', '.latexmkrc', 'latexmkrc'],
|
||||
\ 'pf': ['pf.conf'],
|
||||
\ 'pfmain': ['main.cf'],
|
||||
\ 'php': ['file.php', 'file.php9', 'file.phtml', 'file.ctp', 'file.phpt', 'file.theme'],
|
||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
599,
|
||||
/**/
|
||||
598,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user