aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/lua/adeptsense.lua2
1 files changed, 1 insertions, 1 deletions
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('.')