# HG changeset patch # User zegervdv # Date 1408959813 -7200 # Node ID 1f0d12295ba5887da085cf085cc8ad13c7f056eb # Parent 2c5bc2d9a29f6aa92b5fb857ff25f1e7e43b33b2 Add VHDL snippets diff -r 2c5bc2d9a29f -r 1f0d12295ba5 vim/snippets/vhdl.snip --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/snippets/vhdl.snip Mon Aug 25 11:43:33 2014 +0200 @@ -0,0 +1,44 @@ +snippet entity +abbr entity +options head + entity ${1:name} is + port( + ${2} + ); + end entity $1; + +snippet architecture +abbr architecture +options head + architecture ${1:arch} of ${2:name} is + ${4} + begin + ${4} + end architecture $1; + +snippet process +abbr process +options head + process(${1:args}) is + ${2} + end process; + +snippet case +abbr case +options head + case ${1:var} is + ${2} + end case; + +snippet when +abbr when +options head + when ${1:option} => + ${2} + +snippet if +abbr if +options head + if ${1:value} then + ${2} + end if;