From 225c408b02cbcd76463b7b040b6d719d00a0d013 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 19 Oct 2020 02:37:33 +0200 Subject: Mention nocompatible in the .vimrc --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') 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: -- cgit v1.2.3