Skip to content

PHP (phpcbf) auto format plugin for nvim

License

Notifications You must be signed in to change notification settings

yuchanns/phpfmt.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phpfmt.nvim

PHP (phpcbf) auto format plugin for nvim. Inspired from vim-phpfmt.

Installation

  • Neovim >= 0.7.0
  • phpcbf
use "yuchanns/phpfmt.nvim"

Usage

Configuration

require("phpfmt").setup({
  -- Default configs
  cmd = "phpcbf",
  standard = "PSR12"
  auto_format = false,
})

Manual Format

-- using lua function
: lua require("phpfmt").formatting()

Contributing

Bug reports and feature requests are welcome! Feel free to make PRs!

About

PHP (phpcbf) auto format plugin for nvim

Topics

Resources

License

Stars

Watchers

Forks

Languages