mirror of
https://github.com/vim/vim.git
synced 2026-01-23 15:09:02 +01:00
This reverts commits: -6b652a7850-2f689d5abd-a025a46d41Several email addresses that are known to be valid caused bounces due to an issue with my email setup. The previous commits incorrectly marked these addresses as invalid. So revert the whole thing again. Signed-off-by: Christian Brabandt <cb@256bit.org>
46 lines
1.3 KiB
VimL
46 lines
1.3 KiB
VimL
" Vim filetype plugin file
|
|
" Language: PostScript
|
|
" Maintainer: Mike Williams <mrw@eandem.co.uk>
|
|
" Last Change: 24th April 2012
|
|
" 2024 Jan 14 by Vim Project (browsefilter)
|
|
" 2025 Jun 08 by Riley Bruins <ribru17@gmail.com> ('commentstring')
|
|
|
|
" Only do this when not done yet for this buffer
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
" Don't load another plugin for this buffer
|
|
let b:did_ftplugin = 1
|
|
|
|
let s:cpo_save = &cpo
|
|
set cpo&vim
|
|
|
|
" PS comment formatting
|
|
setlocal comments=b:%
|
|
setlocal commentstring=%\ %s
|
|
setlocal formatoptions-=t formatoptions+=rol
|
|
|
|
" Define patterns for the matchit macro
|
|
if !exists("b:match_words")
|
|
let b:match_ignorecase = 0
|
|
let b:match_words = '<<:>>,\<begin\>:\<end\>,\<save\>:\<restore\>,\<gsave\>:\<grestore\>'
|
|
endif
|
|
|
|
" Define patterns for the browse file filter
|
|
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
|
|
let b:browsefilter = "PostScript Files (*.ps)\t*.ps\n" .
|
|
\ "EPS Files (*.eps)\t*.eps\n"
|
|
if has("win32")
|
|
let b:browsefilter .= "All Files (*.*)\t*\n"
|
|
else
|
|
let b:browsefilter .= "All Files (*)\t*\n"
|
|
endif
|
|
endif
|
|
|
|
let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<"
|
|
\ . "| unlet! b:browsefilter b:match_ignorecase b:match_words"
|
|
|
|
let &cpo = s:cpo_save
|
|
unlet s:cpo_save
|