mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 04:50:04 +08:00
18 lines
245 B
Markdown
18 lines
245 B
Markdown
|
# format.nvim
|
||
|
|
||
|
Asynchronous code formatting plugin based on SpaceVim job api.
|
||
|
|
||
|
## Configuration
|
||
|
|
||
|
```lua
|
||
|
require('format').setup({
|
||
|
custom_formatters = {
|
||
|
lua = {
|
||
|
exe = 'stylua',
|
||
|
args = {'-'},
|
||
|
stdin = true
|
||
|
},
|
||
|
}
|
||
|
})
|
||
|
```
|