more nsis snippets

This commit is contained in:
Andrea Crotti 2011-12-07 10:19:35 +00:00
parent 20b9158630
commit 0f24dadf22
4 changed files with 19 additions and 2 deletions

5
nsis-mode/define Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: define
# key: def
# --
!define ${1:CONSTANT} ${2:value}

View File

@ -1,8 +1,7 @@
# -*- mode: snippet -*-
# name: function
# key: fun
# type: command
# --
Function ${1:name}
Function .${1:name}
$0
FunctionEnd

5
nsis-mode/insert_macro Normal file
View File

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: insert_macro
# key: im
# --
!insermacro ${1:Name} ${2:"args"}

8
nsis-mode/macro Normal file
View File

@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: macro
# key: macro
# --
!macro ${1:Name} UN
$0
!macroend