Add jumpable method

This commit is contained in:
Daniel Mathiot
2021-08-27 23:29:44 +02:00
parent 5e2c72d36b
commit e9cc44266e
2 changed files with 18 additions and 3 deletions

View File

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