Added option to disable typographic (curly) quotes.

This commit is contained in:
Reed Esau
2014-02-04 01:01:06 -07:00
parent 3df19f9fdf
commit bf70b0d893
3 changed files with 44 additions and 1 deletions

View File

@@ -64,6 +64,26 @@ where the value is a list of the common misspellings for the key.
The corrections you provide will be in addition to the defaults. Where
theres a conflict, your correction will prevail.
### Typographic characters
By default, typographic (or curly) quotes will be used in corrections. For
example:
```
Im -> Im
shouldnt -> shouldnt
thats -> thats
```
If you prefer straight quotes, change this setting to 0 in your `.vimrc`:
```
let g:litecorrect#typographic = 1 " 0=disable, 1=enable (def)
```
Note that an educating quote plugin like _quotable_ (see below) will
automatically transform straight quotes to curly ones in your corrections.
## Criteria to modify default entries
Note that the number of default entries will be limited to 300 for fast