Move comment about polyglot_disabled

This commit is contained in:
Adam Stankiewicz
2020-10-19 02:52:47 +02:00
parent 0980839568
commit 3d80a66e7b

View File

@@ -211,14 +211,14 @@ Please make sure you have `set nocompatible` in your `.vimrc` (or use something
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:
**Please declare this variable before polyglot is loaded (at the top of .vimrc)**
```vim ```vim
let g:polyglot_disabled = ['markdown'] let g:polyglot_disabled = ['markdown']
``` ```
The list of available languages to disable is shown above. The list of available languages to disable is shown above.
*Please declare this variable before polyglot is loaded (at the top of .vimrc)*
If you wish to use filetype detection by Vim Polyglot but you'd like to use your own syntax-highlighting plugin, you can append `.plugin` to disabled entry, like below. Disabling Vim Polyglot filetype plugin won't disable native Vim filetype plugin. If you wish to use filetype detection by Vim Polyglot but you'd like to use your own syntax-highlighting plugin, you can append `.plugin` to disabled entry, like below. Disabling Vim Polyglot filetype plugin won't disable native Vim filetype plugin.
```vim ```vim