summaryrefslogtreecommitdiffstats
path: root/ftplugin/ch.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ch.vim')
-rw-r--r--ftplugin/ch.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/ftplugin/ch.vim b/ftplugin/ch.vim
new file mode 100644
index 00000000..71f4870b
--- /dev/null
+++ b/ftplugin/ch.vim
@@ -0,0 +1,21 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ch') == -1
+
+" Vim filetype plugin file
+" Language: Ch
+" Maintainer: SoftIntegration, Inc. <info@softintegration.com>
+" URL: http://www.softintegration.com/download/vim/ftplugin/ch.vim
+" Last change: 2004 May 16
+" Created based on cpp.vim
+"
+" Ch is a C/C++ interpreter with many high level extensions
+"
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Behaves just like C
+runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim
+
+endif