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.
In the lua/nordic/colors/
directory:
- Create a new file for your definitions, i.e.
project_name.lua
with the following template (seeexample.lua
for example definitions):
-- 'repo-username/project-name'
return function(c, s, cs)
return {}
end
- Add the filename to the
init.lua
file table:
local colors = {
-- ...
-- Add your filename to the bottom of this table
'project_name',
}
Commit the changes with the message feat: support project-name
into your fork and open a pull-request.
This colorscheme provides a user-configurable option to enable alternative background colors on certain UI elements like special buffers and popups, etc.
The lua/nordic/init.lua
file contains two tables to define where this should apply:
alternate_buffers_supported
: A buffer filenamealternate_highlights_supported
: A plugin name used in color definitions viacs.bg('project_name')