- Merged.
This commit is contained in:
commit
8bf26b819f
20
autoload/neocomplcache/sources/snippets_complete/lua.snip
Normal file
20
autoload/neocomplcache/sources/snippets_complete/lua.snip
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
snippet func
|
||||||
|
alias function
|
||||||
|
function ${1:function_name}(${2:argument})
|
||||||
|
${0:// body...}
|
||||||
|
end
|
||||||
|
|
||||||
|
snippet if
|
||||||
|
if (${1:true}) then
|
||||||
|
${0:$TM_SELECTED_TEXT}
|
||||||
|
end
|
||||||
|
|
||||||
|
snippet for
|
||||||
|
for ${2:i} = 0, ${1:Things} do
|
||||||
|
${0}
|
||||||
|
end
|
||||||
|
|
||||||
|
snippet forin
|
||||||
|
for ${2:k}, ${3:v} in ${1:ipairs(xs)} do
|
||||||
|
${0}
|
||||||
|
end
|
@ -311,6 +311,8 @@ CHANGELOG *neocomplcache-snippets-complete-changelog*
|
|||||||
- Fixed substitute tab character.
|
- Fixed substitute tab character.
|
||||||
- Improved cursor position.
|
- Improved cursor position.
|
||||||
- Fixed column in select mode.
|
- Fixed column in select mode.
|
||||||
|
- Added lua snip.
|
||||||
|
- Improved javascript snip.
|
||||||
|
|
||||||
2012-09-06
|
2012-09-06
|
||||||
- Added neocomplcache__convertable attribute.
|
- Added neocomplcache__convertable attribute.
|
||||||
|
Loading…
Reference in New Issue
Block a user