summaryrefslogtreecommitdiffstats
path: root/ftplugin/vifm-cmdedit.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/vifm-cmdedit.vim')
-rw-r--r--ftplugin/vifm-cmdedit.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/ftplugin/vifm-cmdedit.vim b/ftplugin/vifm-cmdedit.vim
new file mode 100644
index 00000000..1634371e
--- /dev/null
+++ b/ftplugin/vifm-cmdedit.vim
@@ -0,0 +1,23 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1
+
+" vifm command-line editing buffer filetype plugin
+" Maintainer: xaizek <xaizek@posteo.net>
+" Last Change: August 18, 2013
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+let b:did_ftplugin = 1
+
+" Behave as vifm script file
+runtime! ftplugin/vifm.vim
+
+" Use vifm script highlighting
+set syntax=vifm
+
+call vifm#edit#Init()
+
+" vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 :
+
+endif