mirror of
https://github.com/neovim/neovim.git
synced 2026-05-01 03:24:49 +00:00
vim-patch:8.2.2801: free Pascal makefile not recognized
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
f6d9935a13
This commit is contained in:
@@ -1191,6 +1191,9 @@ au BufNewFile,BufRead *.pp call dist#ft#FTpp()
|
||||
" Delphi or Lazarus program file
|
||||
au BufNewFile,BufRead *.dpr,*.lpr setf pascal
|
||||
|
||||
" Free Pascal makefile definition file
|
||||
au BufNewFile,BufRead *.fpc setf fpcmake
|
||||
|
||||
" PDF
|
||||
au BufNewFile,BufRead *.pdf setf pdf
|
||||
|
||||
|
||||
@@ -179,6 +179,7 @@ let s:filename_checks = {
|
||||
\ 'focexec': ['file.fex', 'file.focexec'],
|
||||
\ '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'],
|
||||
\ 'fpcmake': ['file.fpc'],
|
||||
\ 'framescript': ['file.fsl'],
|
||||
\ 'freebasic': ['file.fb', 'file.bi'],
|
||||
\ 'fstab': ['fstab', 'mtab'],
|
||||
|
||||
Reference in New Issue
Block a user