view runtime/ftplugin/registry.vim @ 18611:6a7ebc2ee528 v8.1.2299

patch 8.1.2299: ConPTY in MS-Windows 1909 is still wrong Commit: https://github.com/vim/vim/commit/36e7a823c66cfefb553c723e6792bcc6a1573b03 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 13 21:49:24 2019 +0100 patch 8.1.2299: ConPTY in MS-Windows 1909 is still wrong Problem: ConPTY in MS-Windows 1909 is still wrong. Solution: Use same solution as for 1903. (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/5217)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Nov 2019 22:00:05 +0100
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