After a refactoring of utilities, I added a function to get the first
child node that matches the node name.
Documentation is provided in neogen.utilities.nodes
Instead of providing the number of childs to append after the parent, it
will append the comment just after the first child encountered with
child_name
At the moment, only supports params for function definitions.
I added more options to configure the default generator (please see the
templates field in configuration/python.lua)
The plugin now recognizes indentation level and will write the comments
at the same indentation level as the function.
for example:
function()
-- this is junk
-- this is junk
-- The annotation will be created here
function()
end
-- this is junk
-- this is junk
end