Remove unused condition for input_after_comment
It should fix the issue #8
This commit is contained in:
@@ -56,7 +56,7 @@ neogen.generate = function(opts)
|
|||||||
vim.fn.append(to_place, content)
|
vim.fn.append(to_place, content)
|
||||||
|
|
||||||
-- Place cursor after annotations and start editing
|
-- Place cursor after annotations and start editing
|
||||||
if neogen.configuration.input_after_comment == true and #data ~= 0 then
|
if neogen.configuration.input_after_comment == true then
|
||||||
vim.fn.cursor(to_place + 1, start_column)
|
vim.fn.cursor(to_place + 1, start_column)
|
||||||
vim.api.nvim_command("startinsert!")
|
vim.api.nvim_command("startinsert!")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user