blob: 6d4b8fdbf6c7a257b5205dc7f8f69fb291a1510c [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim filetype plugin file
2" Language: Kimwitu++
Bram Moolenaarb6b046b2011-12-30 13:11:27 +01003" Maintainer: Michael Piefel <entwurf@piefel.de>
4" Last Change: 10 December 2011
Bram Moolenaar071d4272004-06-13 20:20:40 +00005
6" Behaves almost like C++
7runtime! ftplugin/cpp.vim ftplugin/cpp_*.vim ftplugin/cpp/*.vim
8
Bram Moolenaarb6b046b2011-12-30 13:11:27 +01009let s:cpo_save = &cpo
10set cpo&vim
Bram Moolenaar071d4272004-06-13 20:20:40 +000011
12" Limit the browser to related files
13if has("gui_win32") && !exists("b:browsefilter")
14 let b:browsefilter = "Kimwitu/Kimwitu++ Files (*.k)\t*.k\n" .
15 \ "Lex/Flex Files (*.l)\t*.l\n" .
16 \ "Yacc/Bison Files (*.y)\t*.y\n" .
17 \ "All Files (*.*)\t*.*\n"
18endif
19
20" Set the errorformat for the Kimwitu++ compiler
21set efm+=kc%.%#:\ error\ at\ %f:%l:\ %m
Bram Moolenaarb6b046b2011-12-30 13:11:27 +010022
23let &cpo = s:cpo_save
24unlet s:cpo_save