pre-commit.nvim
pre-commit.nvim copied to clipboard
Trigger pre-commit linters/formatter straight from within Neovim
If you run a hook that reformats or modifies the file, after loading, nvim should read the file from memory in-place to prevent "this file has already been saved" warnings.
Something like `:Precommit flake8` to emulate doing `pre-commit run flake8 --files ` as opposed to always running every hook
## Changes - Impremented `vim.validate` (with retrocompatibility aswell) in functions - Improved code quality