File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -254,13 +254,30 @@ This will not affect smart autoindenting when starting a new line.
254
254
255
255
## Default settings
256
256
257
- Vim Polyglot includes vim-sensible plugin, which is usually necessary for editing any language. This can be disabled with :
257
+ Vim Polyglot sets defaults of some settings that are relevant for good language support. You can disable them by :
258
258
259
259
260
260
``` vim
261
261
let g:polyglot_disabled = ['sensible']
262
262
```
263
263
264
+ These defaults include:
265
+ - Use utf-8 encoding by default
266
+ - Automatically reload file if changed somewhere else
267
+ - Disable existing swapfile warnings, instead just create multiple swapfiles
268
+ - Don't create swapfiles in current directory, instead in data directory
269
+ - Whitespace characters when using ` :set list `
270
+ - Delete comment character when joining commented lines
271
+ - Search upwards for tags file(s) instead only locally
272
+ - Fix issues with fish shell
273
+ - Increase history size to 1000 items
274
+ - Allow for up to 50 opened tabs on Vim start.
275
+ - Reduce updatetime from 4000 to 300 to avoid issues with coc.nvim
276
+ - Always save upper case variables to viminfo file
277
+ - Don't save options in sessions and views
278
+ - Allow color schemes to do bright colors without forcing bold
279
+ - Load vim's built-in matchit plugin
280
+
264
281
## No ftdetect
265
282
266
283
If you want to use vim-polyglot plugins, but not ftdetect autocommands, the you can disable it as so:
You can’t perform that action at this time.
0 commit comments