Skip to content

Commit eb5f517

Browse files
committed
Fix subroutine snippet
1 parent 03e901e commit eb5f517

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snippets/fortran90.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
"prefix": "sub",
3838
"body": [
3939
"subroutine ${1:routine}(${2:arg1}, ${3: arg2})",
40-
"$\t${4:type1}, intent(in) :: ${2:arg1}",
41-
"$\t${5:type2}, intent(out) :: ${3:arg2}",
40+
"\t${4:type1}, intent(${5:in}) :: ${2:arg1}",
41+
"\t${6:type2}, intent(${7:out}) :: ${3:arg2}",
4242
"",
43-
"$\t${0}",
43+
"\t${0}",
4444
"end subroutine ${1:routine}"
4545
],
4646
"description": "Create a subroutine"

0 commit comments

Comments
 (0)