summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake.vim
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-09-27 21:06:27 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-09-27 21:06:27 +0200
commit442ec331cdbbf605821aab9fbf02b0fa4a91918c (patch)
treed53447c938cf8e59d283e4258fdfdc972820141f /dev-util/cmake/files/cmake.vim
parent96492d79466e181d5eca39f874f5ca8cad0e6790 (diff)
downloadkde-442ec331cdbbf605821aab9fbf02b0fa4a91918c.tar.gz
kde-442ec331cdbbf605821aab9fbf02b0fa4a91918c.tar.bz2
kde-442ec331cdbbf605821aab9fbf02b0fa4a91918c.zip
Initial commit for new cmake.
For god sake do not test cause it is not ready. Whats needed to be done: - check 2.6 patches and apply those that are still relevant. - CMakeLists got rewritten so new options are around Also probably new dep (optional): JNI-H -- i bet it is something javist. In this verison it uses system curses form library not internal YAY :] Also it reports that it wants CURSES_EXTRA_LIBRARY=NOT-FOUND, so find out what the heck it is.
Diffstat (limited to 'dev-util/cmake/files/cmake.vim')
-rw-r--r--dev-util/cmake/files/cmake.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake.vim b/dev-util/cmake/files/cmake.vim
new file mode 100644
index 00000000000..5cecd7d05b6
--- /dev/null
+++ b/dev-util/cmake/files/cmake.vim
@@ -0,0 +1,3 @@
+autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in runtime! indent/cmake.vim
+autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in setf cmake
+autocmd BufRead,BufNewFile *.ctest,*.ctest.in setf cmake