annotate runtime/ftplugin/kwt.vim @ 2688:f016c3708ae3 v7.3.106

updated for version 7.3.106 Problem: When 'cursorbind' is set another window may scroll unexpectedly when 'scrollbind' is also set. (Xavier Wang) Solution: Don't call update_topline() if 'scrollbind' is set.
author Bram Moolenaar <bram@vim.org>
date Sat, 22 Jan 2011 21:05:07 +0100
parents 3fc0f57ecb91
children 91e53bcb7946
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Kimwitu++
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 16 August 2001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Behaves almost like C++
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 runtime! ftplugin/cpp.vim ftplugin/cpp_*.vim ftplugin/cpp/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " Limit the browser to related files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 if has("gui_win32") && !exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 let b:browsefilter = "Kimwitu/Kimwitu++ Files (*.k)\t*.k\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 \ "Lex/Flex Files (*.l)\t*.l\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 \ "Yacc/Bison Files (*.y)\t*.y\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 \ "All Files (*.*)\t*.*\n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " Set the errorformat for the Kimwitu++ compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 set efm+=kc%.%#:\ error\ at\ %f:%l:\ %m