Patch 8.2.2801

6 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 23, 2021, 12:20:51 PM4/23/21
to vim...@googlegroups.com

Patch 8.2.2801
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.2800/runtime/filetype.vim 2021-04-20 20:21:19.759851856 +0200
--- runtime/filetype.vim 2021-04-23 17:59:07.535909900 +0200
***************
*** 1195,1200 ****
--- 1195,1203 ----
" 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

*** ../vim-8.2.2800/src/testdir/test_filetype.vim 2021-04-20 20:21:19.763851843 +0200
--- src/testdir/test_filetype.vim 2021-04-23 17:59:23.895862282 +0200
***************
*** 182,187 ****
--- 182,188 ----
\ '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'],
*** ../vim-8.2.2800/src/version.c 2021-04-22 21:39:26.239762214 +0200
--- src/version.c 2021-04-23 18:05:45.126443029 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2801,
/**/

--
Send $25.00 for handy leaflet on how to make money by selling leaflets

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages