summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/polyglot.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim
new file mode 100644
index 00000000..ab74485f
--- /dev/null
+++ b/plugin/polyglot.vim
@@ -0,0 +1,9 @@
+if !exists("did_load_polyglot")
+ if expand("<sfile>:p") =~# '/pack/' && (exists("did_load_filetypes") || exists("did_indent_on"))
+ echohl WarningMsg
+ echo "Improper install of vim-polyglot. Please add 'packload' to .vimrc"
+ echohl None
+ end
+ filetype plugin indent on
+ syntax enable
+endif