robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
7ed6966023
master
1" Vim filetype plugin file 2" Language: Windows Registry export with regedit (*.reg) 3" Maintainer: Cade Forester <ahx2323@gmail.com> 4" Latest Revision: 2014-01-09 5" 2024 Jan 14 by Vim Project (browsefilter) 6 7if exists ( "b:did_ftplugin" ) 8finish 9endif 10let b: did_ftplugin = 1 11 12let s: cpo_save = & cpo 13set cpo & vim 14 15let b: undo_ftplugin = 16 \'setlocal ' . 17 \'comments< ' . 18 \'commentstring< ' . 19 \'formatoptions<' 20 21 22if ( has ( 'gui_win32' ) || has ( 'gui_gtk' ) ) 23\&& ! exists ( 'b:browsefilter' ) 24let b: browsefilter = 25 \"registry files (*.reg)\t*.reg\n" 26if has ( "win32" ) 27let b: browsefilter .= "All Files (*.*)\t*\n" 28else 29let b: browsefilter .= "All Files (*)\t*\n" 30endif 31let b: undo_ftplugin .= " | unlet! b:browsefilter" 32endif 33 34setlocal comments = :; 35setlocal commentstring = ;\ %s 36 37setlocal formatoptions -= t 38setlocal formatoptions += croql 39 40let & cpo = s: cpo_save 41unlet s: cpo_save