From 5297baf28553a593518f47b1a941a9ea8540829a Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 19 Oct 2020 03:05:39 +0200 Subject: Add doc for polyglot --- doc/polyglot.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/polyglot.txt (limited to 'doc') diff --git a/doc/polyglot.txt b/doc/polyglot.txt new file mode 100644 index 00000000..14d8b997 --- /dev/null +++ b/doc/polyglot.txt @@ -0,0 +1,31 @@ +*polyglot-vim-plugin* Language pack for Vim + +CONFIGURATION *polyglot.vim* + +_|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| +___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|__ +_|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| +___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|__ + +You can disable vim-polyglot by putting using `g:polyglot_disabled` +option. It needs to be defined before vim-polyglot is loaded. + +``` +let g:polyglot_disabled = ['javascript', 'autoindent', 'sensible'] +``` + +What can be disabled: + +1. Language packs, like "javascript", "css" etc. +2. Support for detecting indentation like vim-sleuth ('autoindent') +3. Default vim settings from vim-sensible ('sensible') + + +You can file bugs, and find more information at: + +https://github.com/sheerun/vim-polyglot + +_|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| +___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|__ +_|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___| +___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|___|__ -- cgit v1.2.3