1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:10:05 +08:00
SpaceVim/bundle/format.nvim
2024-04-18 21:28:35 +08:00
..
lua feat(format): add rustfmt 2024-04-18 21:28:35 +08:00
plugin refactor(format): enable format function 2024-04-16 13:54:12 +08:00
README.md docs(format): add readme 2024-04-16 15:25:54 +08:00

format.nvim

Asynchronous code formatting plugin based on SpaceVim job api.

Configuration

require('format').setup({
  custom_formatters = {
    lua = {
      exe = 'stylua',
      args = {'-'},
      stdin = true
    },
  }
})