adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
58
plugins/bundle/xptemplate/ftplugin/cabal/cabal.xpt.vim
Normal file
58
plugins/bundle/xptemplate/ftplugin/cabal/cabal.xpt.vim
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
XPTemplate priority=lang
|
||||
|
||||
let s:f = g:XPTfuncs()
|
||||
|
||||
XPTvar $TRUE 1
|
||||
XPTvar $FALSE 0
|
||||
XPTvar $NULL NULL
|
||||
XPTvar $UNDEFINED NULL
|
||||
XPTvar $VOID_LINE /* void */;
|
||||
XPTvar $BRif \n
|
||||
|
||||
XPTinclude
|
||||
\ _common/common
|
||||
|
||||
|
||||
" ========================= Function and Variables =============================
|
||||
|
||||
|
||||
" ================================= Snippets ===================================
|
||||
|
||||
|
||||
XPT infos hint=Name:\ Version\:\ Synopsys:\ Descr:\ Author:\ ...
|
||||
XSET Description...|post=\nDescription: `_^
|
||||
XSET Author...|post=\nAuthor: `_^
|
||||
XSET Maintainer...|post=\nMaintainer: `_^
|
||||
Name: `name^
|
||||
Version: `version^
|
||||
Synopsis: `synop^
|
||||
Build-Type: `Simple^
|
||||
Cabal-Version: >= `ver^1.2^`
|
||||
`Description...^`
|
||||
`Author...^`
|
||||
`Maintainer...^
|
||||
|
||||
XPT if hint=if\ ...\ else\ ...
|
||||
if `cond^
|
||||
`what^
|
||||
`else...{{^else
|
||||
`cursor^`}}^
|
||||
|
||||
|
||||
XPT lib hint=library\ Exposed-Modules...
|
||||
XSET another*|post=ExpandIfNotEmpty( ', ', 'another*' )
|
||||
library
|
||||
Exposed-Modules: `job^`
|
||||
`more...{{^
|
||||
`job^`
|
||||
`...{{^
|
||||
`job^`
|
||||
`...^`}}^`}}^
|
||||
Build-Depends: base >= `ver^2.0^`, `another*^
|
||||
|
||||
XPT exe hint=Main-Is:\ ..\ Build-Depends
|
||||
XSET another*|post=ExpandIfNotEmpty( ', ', 'another*' )
|
||||
Executable `execName^
|
||||
Main-Is: `mainFile^
|
||||
Build-Depends: base >= `ver^2.0^`, `another*^
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue