pre-commit.nvim
pre-commit.nvim copied to clipboard
Trigger pre-commit linters/formatter straight from within Neovim
pre-commit.nvim
This Neovim plugin triggers the pre-commit
framework for various code linters and formatters. It's designed to only work
within a git repository that already has a .pre-commit-config.yaml file.
Please see the pre-commit documentation for configuration.
Installation
- With packer.nvim
use 'ttibsi/pre-commit.nvim',
- With vim-plug
Plug 'ttibsi/pre-commit.nvim'
To use
Run :Precommit in the nvim command mode and it'll trigger.