[code] run.lua is called incorrectly

From: Tasty Minerals <tastyminerals.att.gmail.com>
Date: Thu, 16 Feb 2017 10:14:29 +0100

Hi guys,
When I try to run python script via "ctr+r" I am getting the following
output:

...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)
...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)
...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)
...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)
...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)
...cal/share/textadept_9.2.x86_64/modules/textadept/run.lua:77: bad
argument #1 to 'find' (string expected, got nil)

In my init.lua file I have set the following:
textadept.run.run_commands.lua = 'lua "%f"'
textadept.run.run_commands.python = 'python "%f"'

Why is lua getting called for python files?

Best,
tastyminerals

-- 
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 Thu 16 Feb 2017 - 04:14:29 EST

This archive was generated by hypermail 2.2.0 : Thu 16 Feb 2017 - 06:38:35 EST