summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:37:33 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:37:33 +0200
commit225c408b02cbcd76463b7b040b6d719d00a0d013 (patch)
treea1e0a181bd6132b53ac054cc3dc26c6968ac3ef6
parent71d9a2db9f0c2f8db0b7396b1b9d347e29214440 (diff)
downloadvim-polyglot-225c408b02cbcd76463b7b040b6d719d00a0d013.tar.gz
vim-polyglot-225c408b02cbcd76463b7b040b6d719d00a0d013.zip
Mention nocompatible in the .vimrc
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3c5fa337..5f574bed 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,13 @@ A collection of language packs for Vim.
For example when using [Plug](https://github.com/junegunn/vim-plug):
```
+set nocompatible
+
+call plug#begin()
+
Plug 'sheerun/vim-polyglot'
+
+call plug#end()
```
Optionally download one of the [releases](https://github.com/sheerun/vim-polyglot/releases) and unpack it directly under `~/.vim` directory.
@@ -205,7 +211,7 @@ You can either wait for new patch release with updates or run `make` by yourself
## Troubleshooting
-Please make sure you have `syntax on` in your `.vimrc` (or use something like [sheerun/vimrc](https://github.com/sheerun/vimrc))
+Please make sure you have `set nocompatible` in your `.vimrc` (or use something like [sheerun/vimrc](https://github.com/sheerun/vimrc))
Individual language packs can be disabled by setting `g:polyglot_disabled` as follows: