diff --git a/autoload/neosnippet/snippets/c.snip b/autoload/neosnippet/snippets/c.snip index 7c7bf2f..49e60ff 100644 --- a/autoload/neosnippet/snippets/c.snip +++ b/autoload/neosnippet/snippets/c.snip @@ -146,7 +146,9 @@ snippet helloworld # fopen snippet fopen abbr fopen("...", "..."); - fopen("${0:TARGET}", "${1:MODE}"); + fopen("${1:PATH}", "${2:MODE}"); + ${0:TARGET} + fclose(${3:FD}); # fgets snippet fgets