summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-18 22:45:46 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-18 22:45:46 +0200
commit5670985b3a9d1d4c139dab4b6b26e9937f9885dd (patch)
treefb3c5382b3f25299cc9318d50eae4b913d9ef3de
parent69eae22ea68523b34ba7c43f00283f3da9007fe1 (diff)
downloadvim-polyglot-5670985b3a9d1d4c139dab4b6b26e9937f9885dd.tar.gz
vim-polyglot-5670985b3a9d1d4c139dab4b6b26e9937f9885dd.zip
Add docs, fixes #501
-rw-r--r--doc/vim-polyglot.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/vim-polyglot.txt b/doc/vim-polyglot.txt
new file mode 100644
index 00000000..5a804998
--- /dev/null
+++ b/doc/vim-polyglot.txt
@@ -0,0 +1,25 @@
+*vim-polyglot* Vim Polyglot
+
+===============================================================================
+ *vim-polyglot-introduction*
+Introduction ~
+
+Vim Polyglot is a solid language pack for vim. No configuration needed.
+
+Please make sure you have `syntax on` in your `.vimrc`
+
+
+===============================================================================
+DISABLING LANGUAGE PACKS *vim-polyglot-disabled*
+
+
+Individual language packs can be disabled by setting `g:polyglot_disabled`:
+
+>
+ " ~/.vimrc, declare this variable before polyglot is loaded let
+ g:polyglot_disabled = ['css']
+<
+
+Note that disabling languages won't make in general your vim startup any faster
+/ slower (only for specific file type). Vim-polyglot is selection of language
+plugins that are loaded only on demand.