Re: [code] Shebang typing

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Tue, 12 Feb 2013 23:14:32 +0800

I have #bash bash and it's still coming up text.

On 12 February 2013 05:53, Mitchell <m.att.foicica.com> wrote:

> Hi Michael,
>
>
> On Mon, 11 Feb 2013, Michael Richter wrote:
>
> If the shebang looks like this…
>>
>> #!/usr/bin/env <foo>
>>
>> …then using the following shebang recognizer fails:
>>
>> #<foo> <foo-lexer>
>>
>
> Perhaps I am missing something. In my ~/.textadept/mime_types.conf I added
> the line "#foo lua" (recognize foo shebangs as Lua as a test) and then
> created a /tmp/foo file whose first line is "#!/usr/bin/env foo". When I
> open this file in ta, its lexer is set to 'lua' as expected.
>
> Mitchell

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
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 Tue 12 Feb 2013 - 10:14:32 EST

This archive was generated by hypermail 2.2.0 : Wed 13 Feb 2013 - 06:32:50 EST