From d41f1d86942e68fa089e507414b960d5d09a1988 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 25 Feb 2011 16:59:02 -0500 Subject: Fixed bug with Lua type assignments; modules/lua/adeptsense.lua --- modules/lua/adeptsense.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lua/adeptsense.lua b/modules/lua/adeptsense.lua index e7db1898..6b900cd8 100644 --- a/modules/lua/adeptsense.lua +++ b/modules/lua/adeptsense.lua @@ -12,7 +12,7 @@ sense.syntax.symbol_chars = '[%w_%.:]' sense.syntax.type_declarations = {} sense.syntax.type_assignments = { ['^[\'"]'] = 'string', -- foo = 'bar' or foo = "bar" - ['^([%w_%.]+)'] = '%1' -- foo = _m.textadept.adeptsense + ['^([%w_%.]+)%s*$'] = '%1' -- foo = _m.textadept.adeptsense } sense.api_files = { _HOME..'/modules/lua/api' } sense:add_trigger('.') -- cgit v1.2.3