codekingpro/portable-devtools
114k
1" Vim filetype plugin file2" Language: Kimwitu++3" Maintainer: Michael Piefel <entwurf@piefel.de>4" Last Change: 10 March 20125" 2024 Jan 14 by Vim Project (browsefilter)6 7" Behaves almost like C++8runtime! ftplugin/cpp.vim ftplugin/cpp_*.vim ftplugin/cpp/*.vim9 10let s:cpo_save = &cpo11set cpo&vim12 13" Limit the browser to related files14if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")15 let b:browsefilter = "Kimwitu/Kimwitu++ Files (*.k)\t*.k\n" .16 \ "Lex/Flex Files (*.l)\t*.l\n" .17 \ "Yacc/Bison Files (*.y)\t*.y\n"18 if has("win32")19 let b:browsefilter ..= "All Files (*.*)\t*\n"20 else21 let b:browsefilter ..= "All Files (*)\t*\n"22 endif23endif24 25" Set the errorformat for the Kimwitu++ compiler26set efm+=kc%.%#:\ error\ at\ %f:%l:\ %m27 28if exists("b:undo_ftplugin")29 let b:undo_ftplugin = b:undo_ftplugin . " | setlocal efm<"30 \ . "| unlet! b:browsefilter"31else32 let b:undo_ftplugin = "setlocal efm<"33 \ . "| unlet! b:browsefilter"34endif35 36let &cpo = s:cpo_save37unlet s:cpo_save38 