theniceboy / nvim

The Ultimate NeoVim Config for Colemak Users
2.02k stars 560 forks source link

自动format vim script? #63

Closed jizhang-wish closed 2 years ago

jizhang-wish commented 2 years ago

init.vim看到有这么一段。感觉不可能是手动断行的。弱弱请教一下,什么插件可以做到自动format vimscript,谢谢啦

let g:coc_global_extensions = [
    \ 'coc-css',
    \ 'coc-diagnostic',
    \ 'coc-docker',
    \ 'coc-eslint',
    \ 'coc-explorer',
    \ 'coc-flutter-tools',
    \ 'coc-gitignore',
    \ 'coc-html',
    \ 'coc-import-cost',
    \ 'coc-java',
    \ 'coc-jest',
    \ 'coc-json',
theniceboy commented 2 years ago

我个人没有感觉vimscript需要自动format,不过可以看看这个reddit post