Skip to content

Commit 3d3fe57

Browse files
committed
🐛fix(:CompilerRedo): Two notifications were displayed if :CompilerRedo was used before compiling.
1 parent cb684ac commit 3d3fe57

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/compiler/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ M.setup = function(opts)
2121
vim.notify("Open the compiler and select an option before doing redo.",
2222
vim.log.levels.INFO, { title = "Compiler.nvim" }
2323
)
24+
return
2425
end
2526
-- If filetype is not the same as when the option was selected, send a notification.
2627
local current_filetype = vim.bo.filetype

0 commit comments

Comments
 (0)