Initial commit.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
prog-mode
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: define
|
||||
# key: def
|
||||
# --
|
||||
!define ${1:CONSTANT} ${2:value}
|
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: function
|
||||
# key: fun
|
||||
# --
|
||||
Function ${1:Name}
|
||||
$0
|
||||
FunctionEnd
|
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: if
|
||||
# key: if
|
||||
# --
|
||||
${IF} ${1:cond}
|
||||
$0
|
||||
${ElseIf} ${2:else_cond}
|
||||
|
||||
${EndIf}
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: include
|
||||
# key: inc
|
||||
# --
|
||||
!include "${Library.nsh}"
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: insert_macro
|
||||
# key: im
|
||||
# --
|
||||
!insermacro ${1:Name} ${2:"args"}
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: instdir
|
||||
# key: $
|
||||
# --
|
||||
$INSTDIR
|
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: macro
|
||||
# key: macro
|
||||
# --
|
||||
!macro ${1:Name} UN
|
||||
$0
|
||||
|
||||
!macroend
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: message
|
||||
# key: msg
|
||||
# --
|
||||
MessageBox MB_OK "${1:hello}"
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: outdir
|
||||
# key: $
|
||||
# --
|
||||
$OUTDIR
|
@@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: outfile
|
||||
# key: out
|
||||
# --
|
||||
outFile "${1:setup}.exe"
|
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: section
|
||||
# key: sec
|
||||
# --
|
||||
Section "${1:Program}"
|
||||
$0
|
||||
SectionEnd
|
Reference in New Issue
Block a user