mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-01 00:50:31 +08:00
20 lines
752 B
VimL
20 lines
752 B
VimL
"=============================================================================
|
|
" format.vim --- format Layer file for SpaceVim
|
|
" Copyright (c) 2012-2016 Shidong Wang & Contributors
|
|
" Author: Shidong Wang < wsdjeg at 163.com >
|
|
" URL: https://spacevim.org
|
|
" License: MIT license
|
|
"=============================================================================
|
|
|
|
""
|
|
" @section format, format
|
|
" @parentsection layers
|
|
" SpaceVim uses neoformat as the default code format tools. Neoformat uses a
|
|
" variety of formatters for many filetypes. for more info see |neoformat|
|
|
|
|
function! SpaceVim#layers#format#plugins() abort
|
|
return [
|
|
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
|
\ ]
|
|
endfunction
|