diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-04 14:18:37 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-04 14:18:37 +0200 |
commit | 4df00e657481fa77c129acdda4d2b367cf64afab (patch) | |
tree | beaff0aabfa62dc6e4fc17971dd733381cc08a1a /README.md | |
parent | 48f59577c8fa68d85ac73bfd9f257d606c4660b5 (diff) | |
download | vim-polyglot-4df00e657481fa77c129acdda4d2b367cf64afab.tar.gz vim-polyglot-4df00e657481fa77c129acdda4d2b367cf64afab.zip |
Allow to disable autoindent with g:polyglot_disabled
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -245,7 +245,7 @@ Please make sure you have `syntax on` in your `.vimrc` (or use something like [s Individual language packs can be disabled by setting `g:polyglot_disabled` as follows: -```viml +```vim let g:polyglot_disabled = ['css'] ``` @@ -253,6 +253,12 @@ let g:polyglot_disabled = ['css'] Please note that disabling a language won't make in your vim startup any faster / slower (only for specific this specific filetype). All plugins are loaded lazily, on demand. +Vim Polyglot tries to automatically detect indentation settings (just like vim-sleuth). If this feature is not working for you for some reason, please file an issue and disable it temporarily with: + +```vim +let g:polyglot_disabled = ['autoindent'] +``` + ## Contributing Language packs are periodically updated using automated `scripts/build` script. |