Created wrapped around jump + Doc

You can now jump to next annotation field with:

require('neogen').jump_next()

Added docs for cursor utilities
This commit is contained in:
Daniel Mathiot
2021-08-27 22:10:14 +02:00
parent 1e1b780877
commit c9ba1dcc5d
2 changed files with 12 additions and 12 deletions

View File

@@ -97,6 +97,10 @@ neogen.generate = function(opts)
end)
end
function neogen.jump_next()
neogen.utilities.cursor.jump()
end
function neogen.generate_command()
vim.api.nvim_command('command! -range -bar Neogen lua require("neogen").generate()')
end