adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
76
plugins/bundle/xptemplate/ftplugin/make/make.xpt.vim
Normal file
76
plugins/bundle/xptemplate/ftplugin/make/make.xpt.vim
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
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 $CURSOR_PH # cursor
|
||||
|
||||
XPTvar $CS #
|
||||
|
||||
XPTinclude
|
||||
\ _common/common
|
||||
\ _comment/singleSign
|
||||
|
||||
|
||||
" ========================= Function and Variables =============================
|
||||
|
||||
|
||||
" ================================= Snippets ===================================
|
||||
|
||||
XPT addprefix " $(addprefix ...)
|
||||
$(addprefix `prefix^, `elemList^)
|
||||
|
||||
|
||||
XPT addsuffix " $(addsuffix ...)
|
||||
$(addsuffix `suffix^, `elemList^)
|
||||
|
||||
|
||||
XPT filterout " $(filter-out ...)
|
||||
$(filter-out `toRemove^, `elemList^)
|
||||
|
||||
|
||||
XPT patsubst " $(patsubst ...)
|
||||
$(patsubst `sourcePattern^%.c^, `destPattern^%.o^, `list^)
|
||||
|
||||
|
||||
XPT shell " $(shell ...)
|
||||
$(shell `command^)
|
||||
|
||||
|
||||
XPT subst " $(subst ...)
|
||||
$(subst `sourceString^, `destString^, `string^)
|
||||
|
||||
|
||||
XPT wildcard " $(wildcard ...)
|
||||
$(wildcard `globpattern^)
|
||||
|
||||
|
||||
XPT ifneq " ifneq ... else ... endif
|
||||
ifneq (`what^, `with^)
|
||||
`job^
|
||||
``else...`
|
||||
{{^else
|
||||
`cursor^
|
||||
`}}^endif
|
||||
|
||||
|
||||
XPT ifeq " ifneq ... else ... endif
|
||||
XSET job=$CS job
|
||||
ifeq (`what^, `with^)
|
||||
`job^
|
||||
``else...`
|
||||
{{^else
|
||||
`cursor^
|
||||
`}}^endif
|
||||
|
||||
|
||||
XPT basevar " CC ... CFLAG ..
|
||||
`lang^C^C := `compiler^gcc^
|
||||
`lang^C^FLAGS := `switches^-Wall -Wextra^
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue