Support lists of adjectives and adverbs #24

This commit is contained in:
Reed Esau
2016-11-07 17:41:36 -07:00
parent a4dd6fdb05
commit bd37684a04
4 changed files with 7497 additions and 3 deletions

View File

@@ -16,6 +16,7 @@
* Buffer-scoped configuration (leaves your global settings alone) * Buffer-scoped configuration (leaves your global settings alone)
* Unicode-friendly, including support for typographic quotes * Unicode-friendly, including support for typographic quotes
* User-configurable ring of dictionaries * User-configurable ring of dictionaries
* *NEW* adjectives and adverbs, to help you detect overuse
## What is _wordy_? ## What is _wordy_?
@@ -51,8 +52,13 @@ _wordy_ may require a recent version of Vim.
## Installation ## Installation
Best installed using Pathogen, Vundle, Neobundle, or your favorite Vim _wordy_ is best installed using a Vim package manager, such as
package manager. [Vundle][vnd], [Plug][plg], [NeoBundle][nbn], or [Pathogen][pth].
[vnd]: https://github.com/gmarik/Vundle.vim
[plg]: https://github.com/junegunn/vim-plug
[nbn]: https://github.com/Shougo/neobundle.vim
[pth]: https://github.com/tpope/vim-pathogen
## Configuration ## Configuration
@@ -92,6 +98,8 @@ let g:wordy#ring = [
\ ['colloquial', 'idiomatic', 'similies', ], \ ['colloquial', 'idiomatic', 'similies', ],
\ 'art-jargon', \ 'art-jargon',
\ ['contractions', 'opinion', 'vague-time', 'said-synonyms', ], \ ['contractions', 'opinion', 'vague-time', 'said-synonyms', ],
\ 'adjectives',
\ 'adverbs',
\ ] \ ]
``` ```
@@ -106,7 +114,9 @@ Optionally map a key in your `.vimrc` to rapidly cycle through the
ring's dictionaries: ring's dictionaries:
```vim ```vim
nnoremap <silent> K :NextWordy<cr> noremap <silent> <F8> :<C-u>NextWordy<cr>
xnoremap <silent> <F8> :<C-u>NextWordy<cr>
inoremap <silent> <F8> <C-o>:NextWordy<cr>
``` ```
You can browse through a flattened list of dictionaries You can browse through a flattened list of dictionaries
@@ -243,6 +253,15 @@ of the verb to be, often found in overly-passive sentences.
Dictionaries for uncovering the tired cliché, including colloquial and Dictionaries for uncovering the tired cliché, including colloquial and
idiomatic phrases scraped from Wiktionary and Wikipedia. idiomatic phrases scraped from Wiktionary and Wikipedia.
### Adjectives and Adverbs
```vim
:Wordy adjectives
:Wordy adverbs
```
Dictionaries to help you detect the overuse of modifiers.
### Miscellaneous ### Miscellaneous
```vim ```vim

3383
data/en/adjectives.dic Normal file

File diff suppressed because it is too large Load Diff

4090
data/en/adverbs.dic Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -35,6 +35,8 @@ if !exists('g:wordy#ring')
\ ['colloquial', 'idiomatic', 'similies', ], \ ['colloquial', 'idiomatic', 'similies', ],
\ 'art-jargon', \ 'art-jargon',
\ ['contractions', 'opinion', 'vague-time', 'said-synonyms', ], \ ['contractions', 'opinion', 'vague-time', 'said-synonyms', ],
\ 'adjectives',
\ 'adverbs',
\ ] \ ]
endif endif