diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-30 05:38:14 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-30 05:38:14 +0200 |
commit | 8b272d6e5256e4b28178fb343f01b11272fe080d (patch) | |
tree | 07f86c4876060f03f2353fa04bb6fe9b0c5f0404 /plugin | |
parent | 449bb882486ee69cc63f812120218ed5c17a1ef7 (diff) | |
download | vim-polyglot-8b272d6e5256e4b28178fb343f01b11272fe080d.tar.gz vim-polyglot-8b272d6e5256e4b28178fb343f01b11272fe080d.zip |
Document how to install with vim8 packages
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/polyglot.vim | 9 |
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 |