Skip to content

Commit e3ad29c

Browse files
committed
Document which default settings are changes, closes #672
1 parent b041672 commit e3ad29c

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,30 @@ This will not affect smart autoindenting when starting a new line.
254254

255255
## Default settings
256256

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:
258258

259259

260260
```vim
261261
let g:polyglot_disabled = ['sensible']
262262
```
263263

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+
264281
## No ftdetect
265282

266283
If you want to use vim-polyglot plugins, but not ftdetect autocommands, the you can disable it as so:

0 commit comments

Comments
 (0)