1
0
Fork 0
mirror of https://github.com/Reuh/language-candran.git synced 2025-10-28 04:39:31 +00:00

Removed non valid snippets and improved Readme

Removed non valid snippets for table functions and improved Readme with
all snippet triggers
This commit is contained in:
FireZenk 2014-03-02 15:11:06 +01:00
parent d016ac799c
commit f2945d7f88
2 changed files with 60 additions and 19 deletions

View file

@ -72,26 +72,14 @@
'prefix': 'tab'
'body': '${0:name} = {}'
'table.insert':
'prefix': 'table.insert',
'body': 'table.insert(${0:dest},${1:data})'
'table.insert shorcut':
'prefix': 'tabi',
'body': 'table.insert(${0:dest},${1:data})'
'body': 'table.insert(${0:tableName},${1:data})'
'table.foreach':
'prefix': 'table.foreach',
'body': 'table.foreach(${0:table},${1:function})'
'table.foreach shortcut':
'prefix': 'tabf',
'body': 'table.foreach(${0:table},${1:function})'
'body': 'table.foreach(${0:tableName},${1:function})'
'table.concat':
'prefix': 'table.concat'
'body': 'table.concat(${1:tablename}${2:, ", "}${3:, start_index}${4:, end_index})'
'table.concat shortcut':
'prefix': 'tabc'
'body': 'table.concat(${1:tablename}${2:, ", "}${3:, start_index}${4:, end_index})'
'body': 'table.concat(${1:tableName}${2:, " "}${3:, start_index}${4:, end_index})'
'table.sort':
'prefix': 'table.sort'
'body': 'table.sort(${1:tablename}${2:, sortfunction})'
'table.sort shortcut':
'prefix': 'tabs',
'body': 'table.sort(${1:tablename}${2:, sortfunction})'
'body': 'table.sort(${1:tableName}${2:, sortfunction})'