blob: e365ba7801080187362c4caf71ca0bb0bf6b6bd1 [file] [log] [blame]
Bram Moolenaar4c295022021-05-02 17:19:11 +02001" Vim filetype plugin file
2" Language: Free Pascal Makefile Generator
3" Maintainer: Doug Kearns <dougkearns@gmail.com>
Doug Kearns93197fd2024-01-14 20:59:02 +01004" Last Change: 2024 Jan 14
Bram Moolenaar4c295022021-05-02 17:19:11 +02005
6if exists("b:did_ftplugin")
7 finish
8endif
9
10let s:cpo_save = &cpo
11set cpo&vim
12
13runtime! ftplugin/make.vim
14
15if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
Doug Kearns93197fd2024-01-14 20:59:02 +010016 let b:browsefilter = "Free Pascal Makefile Definition Files (*.fpc)\t*.fpc\n"
17 if has("win32")
18 let b:browsefilter ..= "All Files (*.*)\t*\n"
19 else
20 let b:browsefilter ..= "All Files (*)\t*\n"
21 endif
22 let b:undo_ftplugin ..= " | unlet! b:browsefilter"
Bram Moolenaar4c295022021-05-02 17:19:11 +020023endif
24
Bram Moolenaar4c295022021-05-02 17:19:11 +020025
26let &cpo = s:cpo_save
27unlet s:cpo_save
28
29" vim: nowrap sw=2 sts=2 ts=8 noet: