view runtime/ftplugin/registry.vim @ 30849:fe54ba93f830 v9.0.0759

patch 9.0.0759: huge build on macos does not use Perl Commit: https://github.com/vim/vim/commit/fa7bb1d937308a60280e070b01baba5342148ff7 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Oct 15 14:17:37 2022 +0100 patch 9.0.0759: huge build on macos does not use Perl Problem: Huge build on macos does not use Perl. Solution: Re-enable the Perl interface using "dynamic". (closes https://github.com/vim/vim/issues/11375)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 15:30:03 +0200
parents 350272cbf1fd
children 8ae680be2a51
line wrap: on
line source

" Vim filetype plugin file
" Language:         Windows Registry export with regedit (*.reg)
" Maintainer:       Cade Forester <ahx2323@gmail.com>
" Latest Revision:  2014-01-09

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

let b:undo_ftplugin =
  \ 'let b:browsefilter = "" | ' .
  \ 'setlocal ' .
  \    'comments< '.
  \    'commentstring< ' .
  \    'formatoptions< '


if has( 'gui_win32' )
\ && !exists( 'b:browsefilter' )
   let b:browsefilter =
      \ 'registry files (*.reg)\t*.reg\n' .
      \ 'All files (*.*)\t*.*\n'
endif

setlocal comments=:;
setlocal commentstring=;\ %s

setlocal formatoptions-=t
setlocal formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save