Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.44 KB

CONTRIBUTING.md

File metadata and controls

37 lines (25 loc) · 1.44 KB

Contributing to neovim-java-plugin-host

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

Table of contents

Styleguides

Commit messages

  • 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

Lint

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

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'}"