mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2801: free Pascal makefile not recognized
Problem: Free Pascal makefile not recognized. Solution: Add the fpcmake filetype. (Doug Kearns)
This commit is contained in:
parent
9f28416e54
commit
f6d9935a13
@ -1195,6 +1195,9 @@ au BufNewFile,BufRead *.pp call dist#ft#FTpp()
|
|||||||
" Delphi or Lazarus program file
|
" Delphi or Lazarus program file
|
||||||
au BufNewFile,BufRead *.dpr,*.lpr setf pascal
|
au BufNewFile,BufRead *.dpr,*.lpr setf pascal
|
||||||
|
|
||||||
|
" Free Pascal makefile definition file
|
||||||
|
au BufNewFile,BufRead *.fpc setf fpcmake
|
||||||
|
|
||||||
" PDF
|
" PDF
|
||||||
au BufNewFile,BufRead *.pdf setf pdf
|
au BufNewFile,BufRead *.pdf setf pdf
|
||||||
|
|
||||||
|
@ -182,6 +182,7 @@ let s:filename_checks = {
|
|||||||
\ 'focexec': ['file.fex', 'file.focexec'],
|
\ 'focexec': ['file.fex', 'file.focexec'],
|
||||||
\ 'forth': ['file.fs', 'file.ft', 'file.fth'],
|
\ 'forth': ['file.fs', 'file.ft', 'file.fth'],
|
||||||
\ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'],
|
\ 'fortran': ['file.f', 'file.for', 'file.fortran', 'file.fpp', 'file.ftn', 'file.f77', 'file.f90', 'file.f95', 'file.f03', 'file.f08'],
|
||||||
|
\ 'fpcmake': ['file.fpc'],
|
||||||
\ 'framescript': ['file.fsl'],
|
\ 'framescript': ['file.fsl'],
|
||||||
\ 'freebasic': ['file.fb', 'file.bi'],
|
\ 'freebasic': ['file.fb', 'file.bi'],
|
||||||
\ 'fstab': ['fstab', 'mtab'],
|
\ 'fstab': ['fstab', 'mtab'],
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2801,
|
||||||
/**/
|
/**/
|
||||||
2800,
|
2800,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user