summaryrefslogtreecommitdiffstats
path: root/ftplugin/vifm-cmdedit.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-09-27 20:23:42 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-09-27 20:23:42 +0200
commit8148255ef1c416f414c3a78405eff08fe149d16e (patch)
tree2079cba4fc936c705156e9c03eda004f823bf665 /ftplugin/vifm-cmdedit.vim
parent40ddf334c9428ff7d88b7ca12912a9a1ea80dbab (diff)
downloadvim-polyglot-8148255ef1c416f414c3a78405eff08fe149d16e.tar.gz
vim-polyglot-8148255ef1c416f414c3a78405eff08fe149d16e.zip
Add vifm support, closes #213
Diffstat (limited to '')
-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