summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/objc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/objc.vim')
-rw-r--r--runtime/ftplugin/objc.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/ftplugin/objc.vim b/runtime/ftplugin/objc.vim
new file mode 100644
index 0000000..d129b33
--- /dev/null
+++ b/runtime/ftplugin/objc.vim
@@ -0,0 +1,13 @@
+" Vim filetype plugin file
+" Language: Objective C
+" Maintainer: The Vim Project <https://github.com/vim/vim>
+" Last Change: 2023 Aug 10
+" Former Maintainer: Bram Moolenaar <Bram@vim.org>
+
+" 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