Add unit tests Works over newlines in code comments
- Allow ranges to check for bad diction
Major speed improvements (~8s on 400 lines down to less then half
a second) by using searchpos()
instead of match()
.
Use a dictionary instead of a simple, global list, with a buflocal and global variable to define the active set of databases.
DictionIndex
DictionAdd
LDictionAdd
DictionSet
diction_open_window
diction_db_sets
diction_active_set
diction_databases
- Allow ranges to check for bad diction
Rewrite. Doesn't use diction
anymore.
Using a similar database format (tsv) is simpler than parsing the output
of diction and also enables vim-diction to ship with multiple databases
by default.
DictionLog
diction_databases
- Allow ranges to check for bad diction
- Command to add to existing qf/loclist
- Allow blacklisting shipped databases
diction_options
diction_suggest
Diction
LDiction
<Plug>Diction
<Plug>LDiction
diction_options
diction_suggest
diction_debug
- Allow ranges to pass those through to diction via stdin. In that case an offset has to be given to calculate_lnumcol
- Allow different / multiple files
- Some annotations are extremely long. Make those multiline
- For some reason the calculated lnum/col are a few characters off, sometimes positive, sometimes negative
- Better way to remove leading and trailing whitespace