Configure diction support:
setlocal errorformat=%f:%l:\ %m setlocal makeprg=diction\ -s\ %
If possible, enable language support:
const s:lang = split(v:lang, '\.')[0] if filereadable('/usr/share/diction/' .. s:lang) let &l:makeprg ..= ' -L ' .. s:lang endif