mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 12:33:51 -05:00
Mention nocompatible in the .vimrc
This commit is contained in:
@@ -23,7 +23,13 @@ A collection of language packs for Vim.
|
|||||||
For example when using [Plug](https://github.com/junegunn/vim-plug):
|
For example when using [Plug](https://github.com/junegunn/vim-plug):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
set nocompatible
|
||||||
|
|
||||||
|
call plug#begin()
|
||||||
|
|
||||||
Plug 'sheerun/vim-polyglot'
|
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.
|
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
|
## 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:
|
Individual language packs can be disabled by setting `g:polyglot_disabled` as follows:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user