# -*- mode: snippet -*- # key: sub # contributor: Translated from TextMate Snippet # name: subroutine # -- subroutine ${1:name} ${2:argument type}, intent(${3:inout}) :: ${1/\w+\((.*)\)|.*/$1/} $0 end subroutine ${1/(\w+).*/$1/}