summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-30 05:38:14 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-30 05:38:14 +0200
commit8b272d6e5256e4b28178fb343f01b11272fe080d (patch)
tree07f86c4876060f03f2353fa04bb6fe9b0c5f0404 /README.md
parent449bb882486ee69cc63f812120218ed5c17a1ef7 (diff)
downloadvim-polyglot-8b272d6e5256e4b28178fb343f01b11272fe080d.tar.gz
vim-polyglot-8b272d6e5256e4b28178fb343f01b11272fe080d.zip
Document how to install with vim8 packages
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 545fa0ce..d8a6d5bd 100644
--- a/README.md
+++ b/README.md
@@ -32,10 +32,11 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
You can also use Vim 8 built-in package manager:
```
-mkdir -p ~/.vim/pack/default/start
-git clone https://github.com/sheerun/vim-polyglot ~/.vim/pack/default/start/vim-polyglot
+git clone --depth 1 https://github.com/sheerun/vim-polyglot ~/.vim/pack/plugins/opt/sheerun/vim-polyglot
```
+**And then add `packload` command to your `.vimrc`** (or `packadd sheerun/vim-polyglot`)
+
NOTE: Not all features of individual language packs are available. We strip them from functionality slowing vim startup (for example we ignore `plugins` folder that is loaded regardless of file type, instead we prefer `ftplugin` which is loaded lazily).
If you need full functionality of any plugin, please use it directly with your plugin manager.