Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 451 Bytes

diction.rst

File metadata and controls

18 lines (12 loc) · 451 Bytes

compiler/diction.vim

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