Remove unused condition for input_after_comment

It should fix the issue #8
This commit is contained in:
Daniel Mathiot
2021-08-27 13:35:03 +02:00
parent b525173cd7
commit 80383b7004

View File

@@ -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