1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-21 09:23:44 +08:00
SpaceVim/bundle/neoformat/autoload/neoformat/formatters/csv.vim
2020-06-13 14:06:35 +08:00

16 lines
462 B
VimL

function! neoformat#formatters#csv#enabled() abort
return ['prettydiff']
endfunction
function! neoformat#formatters#csv#prettydiff() abort
return {
\ 'exe': 'prettydiff',
\ 'args': ['mode:"beautify"',
\ 'lang:"csv"',
\ 'readmethod:"filescreen"',
\ 'endquietly:"quiet"',
\ 'source:"%:p"'],
\ 'no_append': 1
\ }
endfunction