Sha256: d73f244e5789c77bfb536ca4efc2abab1dd73b047058589d49f6d06ec66fcd52

Contents?: true

Size: 592 Bytes

Versions: 99

Compression:

Stored size: 592 Bytes

Contents

define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) {
"use strict";

exports.snippetText = "snippet #!\n\
	#!/usr/bin/env lua\n\
	$1\n\
snippet local\n\
	local ${1:x} = ${2:1}\n\
snippet fun\n\
	function ${1:fname}(${2:...})\n\
		${3:-- body}\n\
	end\n\
snippet for\n\
	for ${1:i}=${2:1},${3:10} do\n\
		${4:print(i)}\n\
	end\n\
snippet forp\n\
	for ${1:i},${2:v} in pairs(${3:table_name}) do\n\
	   ${4:-- body}\n\
	end\n\
snippet fori\n\
	for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\
	   ${4:-- body}\n\
	end\n\
";
exports.scope = "lua";

});

Version data entries

99 entries across 99 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/public/js/ace/src/snippets/lua.js
ace-rails-ap-4.2 vendor/assets/javascripts/ace/snippets/lua.js
ace-rails-ap-4.1.5 vendor/assets/javascripts/ace/snippets/lua.js
ace-rails-ap-4.1.4 vendor/assets/javascripts/ace/snippets/lua.js
ace-rails-ap-4.1.3 vendor/assets/javascripts/ace/snippets/lua.js
optimacms-0.3.9 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.8 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.7 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.6 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.5 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.2 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.3.1 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.2.23 spec/dummy/public/js/ace/src/snippets/lua.js
ace-rails-ap-4.1.2 vendor/assets/javascripts/ace/snippets/lua.js
optimacms-0.2.22 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.2.21 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.2.20 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.2.19 spec/dummy/public/js/ace/src/snippets/lua.js
optimacms-0.2.18 spec/dummy/public/js/ace/src/snippets/lua.js
ace-rails-ap-4.1.1 vendor/assets/javascripts/ace/snippets/lua.js