Pull requests are very welcome and this guide will walk through some of the basics on how to contribute.
This project uses stylua and luacheck to check the code for potential errors and styling issues.
It is adviced to install these utilities and check your code before submission. Most modern IDEs and editors have some way of alerting you with diagnostics using the provided configurations.
This project uses the conventional commits specification for git commit messages.
The file lua/nvim_context_vt/config.lua
contains the tables required for resolving virtual text.
Use the command :NvimContextVtDebug
to show the context for the current line to inspect the tree of nodes.
targets
: valid node targetsignore_root_targets
: invalid root node targetsline_targets
: valid node targets used for line targets and not inlineline_ft
: filetypes that should useline_targets
Commit the changes with the message feat: support X
or feat: improve Y
, etc. into your fork and open a pull-request.