There was a syntax error that I had to fix[1], but now you can use Factor's
textmate bundle for syntax highlighting in Atom (requires my latest patch
to be applied).

$ mkdir ~/.atom/packages
$ apm init --package ~/.atom/packages/language-factor --convert
/path/to/factor/misc/Factor.tmbundle

That will clone the current textmate bundle.  I have a number of
improvements to it that I haven't committed yet, so you might have to run
that command again in the future to get them.

What are your thoughts on whether we should have a ``misc/atom`` directory
that we maintain with an "atom bundle" and then you would just have to:

$ ln -sf /path/to/factor/misc/atom ~/.atom/packages/languages-factor

Thanks,
John.

---

[1]
https://github.com/slavapestov/factor/commit/2b1e7dd9d06f004e9b2f5a86b5d406cafd4185ef


On Fri, Jul 10, 2015 at 7:22 AM, Steve Tsai 蔡福安 <tsa...@familysearch.org>
wrote:

>  Can anyone teach me how to setup atom in order to see syntax highlight?
> I am using Xubuntu to run Factor.
>
>
>
> Thanks,
>
> Steve
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to