diff --git a/snippets/module.sublime-snippet b/snippets/module.sublime-snippet
index 860f22d..78d1fd1 100644
--- a/snippets/module.sublime-snippet
+++ b/snippets/module.sublime-snippet
@@ -4,7 +4,7 @@ implicit none
${2:real} :: $3
contains
$0
-module $1]]>
+end module $1]]>
mod
source.modern-fortran
module