joe-syntax/README.md

67 lines
4.0 KiB
Markdown
Raw Normal View History

2013-06-28 20:19:41 +02:00
# JOE Syntax Highlighting
2011-08-01 18:46:03 +02:00
2011-08-22 19:30:01 +02:00
This directory mainly contains *improved and completely new* JOE syntax files
fixing bugs in the original files and adding support for new languages.
2011-08-07 10:39:35 +02:00
2013-06-28 20:19:41 +02:00
## Using
2011-08-01 10:25:17 +02:00
2011-08-06 23:04:31 +02:00
### *.jsf
2011-08-06 22:19:09 +02:00
To enable the .jsf files in this repository they need to appear in JOEs
2011-10-05 00:16:20 +02:00
*syntax* directory. This is likely to be */usr/share/joe/syntax* when using
Debian and APT or */usr/local/Cellar/joe/3.7/share/joe/syntax* when using brew
2011-10-04 23:30:12 +02:00
on Mac OS X. You may download the
[latest jsf-bundle](https://github.com/downloads/cmur2/joe-syntax/jsf-bundle_2.tar)
2011-08-22 19:30:01 +02:00
and place it's contents into the *syntax* directory (Note: this bundle might
be outdated compared to the repository's state).
A maybe better way to achieve this is to clone this repository somewhere
onto your hard disk and establish symlinks to all jsf files in the *syntax*
directory.
### ftyperc (only needed to enable new languages)
To enable the enhanced *ftyperc* from this repository to gain syntax
highlighting support for new languages without overwriting
2011-10-05 00:16:20 +02:00
*/etc/joe/ftyperc*, you may place the modified one in *~/.joe/* as
*~/.joe/ftyperc*.
2011-08-22 19:30:01 +02:00
2013-06-28 20:19:41 +02:00
## How JOE syntax highlighting works
2011-08-22 19:30:01 +02:00
See [HowItWorks.md](https://github.com/cmur2/joe-syntax/blob/master/HowItWorks.md)
which is a reworked version of the header of
[c.jsf](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax/c.jsf.in).
Another good resource might be
[jsf.jsf](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax/jsf.jsf.in).
2011-08-01 10:25:17 +02:00
2013-06-28 20:19:41 +02:00
## Other Syntax Files
2011-07-31 17:00:58 +02:00
* [d.jsf](https://gist.github.com/1032393)
2011-08-01 18:46:03 +02:00
2013-06-28 20:19:41 +02:00
## Licensing
2013-06-28 20:21:06 +02:00
Every .jsf file from the original repository is under GPL2 as [JOE](http://sourceforge.net/projects/joe-editor/).
Every .jsf file created and modified exclusively by [me](https://github.com/cmur2) is under GPL2 as [JOE](http://sourceforge.net/projects/joe-editor/).
2013-06-28 20:19:41 +02:00
Files with unknown license info:
2015-01-08 18:20:23 +01:00
* [elixir.jsf](https://github.com/cmur2/joe-syntax/blob/master/elixir.jsf) which is created by [Andrew Lisin](https://github.com/avli) under GPL v2 ([comment](https://github.com/cmur2/joe-syntax/pull/18#issuecomment-69193456))
2015-02-18 19:49:35 +01:00
* [erlang.jsf](https://github.com/cmur2/joe-syntax/blob/master/erlang.jsf) which is created by [Christian Nicolai](https://github.com/cmur2) and then modified by Jonas Rosling and enhanced with a small tweak from [raev](https://github.com/raev)
2013-06-28 20:19:41 +02:00
* [go.jsf](https://github.com/cmur2/joe-syntax/blob/master/go.jsf) which is entirely contributed by [Daniel Vargas](https://github.com/danielvargas)
* [js.jsf](https://github.com/cmur2/joe-syntax/blob/master/js.jsf) which is created by [Christian Nicolai](https://github.com/cmur2) and then modified by [Rebecca Turner](https://github.com/iarna)
* [json.jsf](https://github.com/cmur2/joe-syntax/blob/master/json.jsf) which is entirely contributed by [Rebecca Turner](https://github.com/iarna)
2014-12-18 22:56:00 +01:00
* [lsl.jsf](https://github.com/cmur2/joe-syntax/blob/master/lsl.jsf) which is from [Zai Lynch](https://wiki.secondlife.com/wiki/User:Zai_Lynch) under GPL v1 (delivered by [Rebecca Turner](https://github.com/iarna))
* [md.jsf](https://github.com/cmur2/joe-syntax/blob/master/md.jsf) which is created by [Christian Nicolai](https://github.com/cmur2) and then modified by Jonas Rosling
* [powershell.jsf](https://github.com/cmur2/joe-syntax/blob/master/powershell.jsf) which is entirely contributed by [Oskar Liljeblad](https://github.com/osklil)
* [puppet.jsf](https://github.com/cmur2/joe-syntax/blob/master/puppet.jsf) which is created by [Christian Nicolai](https://github.com/cmur2) and then modified by [Eric Eisenhart](https://github.com/eeisenhart)
* [sql.jsf](https://github.com/cmur2/joe-syntax/blob/master/sql.jsf) which is from an "unknown source" (delivered by [Rebecca Turner](https://github.com/iarna))
2013-06-28 20:19:41 +02:00
## Links
2011-08-22 19:30:01 +02:00
For JOE see [here](http://joe-editor.sourceforge.net/).
For JOE project see [here](http://sourceforge.net/projects/joe-editor/).
For original JOE syntax files see [here](http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax).
*You can find this repository [here](https://github.com/cmur2/joe-syntax).*