1
0
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:
Wang Shidong 2018-12-19 00:13:53 +08:00 committed by GitHub
commit 99faefc2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 7 deletions

View File

@ -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

View File

@ -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'),

View File

@ -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))
### 问题修复

View File

@ -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