gitsigns.nvim/CONTRIBUTING.md

853 B

Requirements

Generating docs

Most of the documentation is handwritten however the documentation for the configuration is generated from lua/gitsigns/config.lua which contains the configuration schema. The documentation is generated with the lua script gen_help.lua which has been developed just enough to handle the current configuration schema so from time to time this script might need small improvements to handle new features but for the most part it works.

The documentation can be updated with:

make gen_help

Testsuite

The testsuite uses the same framework as Neovims funcitonaltest suite. This is just busted with lots of helper code to create headless neovim instances which are controlled via RPC.

To run the testsuite:

make test