mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:50:06 +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
|
function! SpaceVim#layers#format#plugins() abort
|
||||||
return [
|
return [
|
||||||
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
\ ['neoformat/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||||
\ ]
|
\ ]
|
||||||
endfunction
|
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',
|
call SpaceVim#plugins#runner#reg_runner('python',
|
||||||
\ {
|
\ {
|
||||||
\ 'exe' : function('s:getexe'),
|
\ 'exe' : function('s:getexe'),
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
- Do not load language layer ([#2220](https://github.com/SpaceVim/SpaceVim/pull/2220))
|
- 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))
|
- 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))
|
- 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))
|
- 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
|
### Fixed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user