From 5892233f0cf921bcfc821f1f81c1552a635c2c6c Mon Sep 17 00:00:00 2001 From: xpol Date: Thu, 25 Feb 2016 09:41:23 +0800 Subject: [PATCH 1/2] Add rockspec to file types. --- grammars/lua.cson | 1 + 1 file changed, 1 insertion(+) diff --git a/grammars/lua.cson b/grammars/lua.cson index cbe2a54..b00a1bc 100644 --- a/grammars/lua.cson +++ b/grammars/lua.cson @@ -2,6 +2,7 @@ 'fileTypes': [ 'lua' 'nse' + 'rockspec' ] 'firstLineMatch': '\\A#!.*?\\blua\\b' 'name': 'Lua' From 313cb20d6685d47b738dc40e683860728eccdc83 Mon Sep 17 00:00:00 2001 From: xpol Date: Thu, 25 Feb 2016 09:54:27 +0800 Subject: [PATCH 2/2] and luacheckrc and lakefile is lua file. --- grammars/lua.cson | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grammars/lua.cson b/grammars/lua.cson index b00a1bc..7765ce8 100644 --- a/grammars/lua.cson +++ b/grammars/lua.cson @@ -3,6 +3,8 @@ 'lua' 'nse' 'rockspec' + 'luacheckrc' + 'lakefile' ] 'firstLineMatch': '\\A#!.*?\\blua\\b' 'name': 'Lua'