First of all, thanks for taking the time to contribute to the project!
Following is a basic set of guidelines for contributing to this repository and instructions to make it as easy as possible.
Parts of this guidelines are taken from https://github.com/atom/atom/blob/master/CONTRIBUTING.md
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- Project uses Karma commit message format
This project uses luacheck and stylua. Script is provided to prepare pre-commit hook to check these tools and run tests (scripts/devsetup).
Running tests requires plenary.nvim to be checked out in the parent directory of this repository.
Tests can then be run with:
nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"