bundle/format.nvim/README.md
<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->format.nvim is an asynchronous code formatting plugin based on SpaceVim job api.
format.nvim in SpaceVim:[[layers]]
name = 'format'
format_method = 'format.nvim'
format.nvim without SpaceVim:Plug 'wsdjeg/format.nvim'
require('format').setup({
custom_formatters = {
lua = {
exe = 'stylua',
args = { '-' },
stdin = true,
},
},
})
:Format: format current bufferThe development of this plugin is in SpaceVim/bundle/format.nvim directory.
If you encounter any bugs or have suggestions, please file an issue in the issue tracker