mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 04:23:51 -05:00
Update readme
This commit is contained in:
@@ -263,13 +263,13 @@ The list of available languages to disable is shown above.
|
|||||||
|
|
||||||
*Please declare this variable before polyglot is loaded (at the top of .vimrc)*
|
*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 so:
|
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
|
||||||
let g:polyglot_disabled = ['markdown.plugin']
|
let g:polyglot_disabled = ['markdown.plugin']
|
||||||
```
|
```
|
||||||
|
|
||||||
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 lazily loaded only when they are really needed.
|
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 lazily loaded only when they are really needed.
|
||||||
|
|
||||||
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 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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user