mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 01:09:56 +08:00
docs(format): add readme
This commit is contained in:
parent
78e32eb47d
commit
9e46432d18
17
bundle/format.nvim/README.md
Normal file
17
bundle/format.nvim/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# format.nvim
|
||||||
|
|
||||||
|
Asynchronous code formatting plugin based on SpaceVim job api.
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
```lua
|
||||||
|
require('format').setup({
|
||||||
|
custom_formatters = {
|
||||||
|
lua = {
|
||||||
|
exe = 'stylua',
|
||||||
|
args = {'-'},
|
||||||
|
stdin = true
|
||||||
|
},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user