mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
Merge pull request #2360 from wsdjeg/checkers_layer
Update format layer
This commit is contained in:
commit
99faefc2cf
@ -22,7 +22,7 @@
|
||||
|
||||
function! SpaceVim#layers#format#plugins() abort
|
||||
return [
|
||||
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ['neoformat/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
|
@ -50,12 +50,6 @@ function! SpaceVim#layers#lang#python#config() abort
|
||||
|
||||
" }}}
|
||||
|
||||
let g:neoformat_python_autoflake = {
|
||||
\ 'exe': 'autoflake',
|
||||
\ 'args': ['--in-place', '--remove-duplicate-keys', '--expand-star-imports'],
|
||||
\ 'stdin': 0,
|
||||
\ }
|
||||
|
||||
call SpaceVim#plugins#runner#reg_runner('python',
|
||||
\ {
|
||||
\ 'exe' : function('s:getexe'),
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
- Do not load language layer ([#2220](https://github.com/SpaceVim/SpaceVim/pull/2220))
|
||||
- Changed the behavior of 2-LeftMouse in vimfiler ([#2221](https://github.com/SpaceVim/SpaceVim/pull/2221))
|
||||
- Use forked neoformat repo ([#2360](https://github.com/SpaceVim/SpaceVim/pull/2360), [#2355](https://github.com/SpaceVim/SpaceVim/pull/2355))
|
||||
|
||||
### 问题修复
|
||||
|
||||
|
@ -26,6 +26,7 @@ The next release is v1.0.0.
|
||||
|
||||
- Do not load language layer ([#2220](https://github.com/SpaceVim/SpaceVim/pull/2220))
|
||||
- Changed the behavior of 2-LeftMouse in vimfiler ([#2221](https://github.com/SpaceVim/SpaceVim/pull/2221))
|
||||
- Use forked neoformat repo ([#2360](https://github.com/SpaceVim/SpaceVim/pull/2360), [#2355](https://github.com/SpaceVim/SpaceVim/pull/2355))
|
||||
|
||||
### Fixed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user