summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:52:47 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-19 02:52:47 +0200
commit3d80a66e7be229a014989b798fc4fad8e579946d (patch)
treeebdacd8042bd5613e5e044128e00a8ed7bdf4af8
parent09808395683ecb082e65412861ef70ed6374984b (diff)
downloadvim-polyglot-3d80a66e7be229a014989b798fc4fad8e579946d.tar.gz
vim-polyglot-3d80a66e7be229a014989b798fc4fad8e579946d.zip
Move comment about polyglot_disabled
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index ed0980c3..878926be 100644
--- a/README.md
+++ b/README.md
@@ -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:
+**Please declare this variable before polyglot is loaded (at the top of .vimrc)**
+
```vim
let g:polyglot_disabled = ['markdown']
```
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.
```vim