[code] key and menu command change

From: Tasty Minerals <tastyminerals.att.gmail.com>
Date: Mon, 13 Feb 2017 20:22:42 +0100

Hi, I've dug out my old init.lua config and trying out new textadept.
Looks like now we cannot use

M = require "mymodule"
keys.ca = {M.blabla}

but need to change it to

keys.ca = function() func(args) end

I am confused, what does "func(args)" notation mean?
Because changing it to

keys.ca = function() M.do_stuff end

throws a syntax error which should not happen, yes?


You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 13 Feb 2017 - 14:22:42 EST

This archive was generated by hypermail 2.2.0 : Tue 14 Feb 2017 - 06:44:00 EST