norminette v3.3.51 Currently tested only on that version
With packer:
use {
'hardyrafael17/norminette42.nvim',
}
With lazy:
{ "hardyrafael17/norminette42.nvim" },
Setup should be run in a lua file or in a lua heredoc :help lua-heredoc if using in a vim file.
-- setup with some options
require("norminette").setup({
runOnSave = , -- Optional, Defaults to true, check for errors after save
maxErrorsToShow = 5, -- Only show 5 errors
active = false, -- Optional, Defaults to true can be set to false to deactivate plugin
})
-- setup with without options
require("norminette").setup()
{
"hardyrafael17/norminette42.nvim",
config = function()
local norminette = require("norminette")
norminette.setup({
runOnSave = true,
maxErrorsToShow = 5,
active = true,
})
end,
},
Basic commands:
:Header42
Inserts the 42 Header or updates it if it finds one.
No default mappings yet
This plugin is in it's very initial steps and there are many ideas, some of those will be listed bellow Users are encouraged to add their own custom features via the public API.
Development is focused on:
- Making it more stable and making tests for modules
- Performance
- Making fix commands for auto fix
Custom actions may be mapped which can invoke API or perform your own actions.
PRs are always welcome.
This is for sure a ver ugly and buggy plugin, (It's my first one), so expect bugs, Please report it by creating an issue.
Users for testing, also if anyone wants to help develope, it would be nice.