JOE (Joe's Own Editor) syntax coloring and highlighting files - improved ones
移至檔案
cn 3b413c90d7 Fix Python decorators highlighting
As per PR https://github.com/cmur2/joe-syntax/pull/16 from @avli it does:

This fixes highlighting of the decorators with arguments. For example, the following code highlighting was broken:

```python

@first
@second("arg1", "arg2")
def my_fun():
    pass

```
2014-11-11 09:39:35 +01:00
misc Add setup script for symlinking this repos contents directly form /usr/share/joe/syntax 2011-11-06 21:19:02 +01:00
HowItWorks.md Updated HowItWorks.md 2011-08-02 22:14:39 +02:00
README.md Update README 2013-06-28 20:21:06 +02:00
ant.jsf Renamed antvar subroutine to maybe_antvar 2011-08-02 17:27:05 +02:00
comment_todo.part.jsf New separate template file for comment todo labels 2011-08-02 18:52:01 +02:00
css.jsf CSS: rewrite selector parser frm scratch for more modularity 2011-11-07 23:39:10 +01:00
debian.jsf New JOE highlighter for Java's .properties files 2011-08-02 22:03:36 +02:00
erb.jsf New highlighter for Ruby's ERB and HTML embedded ERB 2011-10-04 21:26:20 +02:00
erlang.jsf Itroduced handeling of Macros, function arety, keywords <- and ||, 2012-08-01 22:39:46 +01:00
ftyperc Add a new strict JSON highlighter 2014-10-08 04:41:25 -04:00
git-commit.jsf Add simple git COMMIT_EDITMSG highlighting 2014-06-14 09:32:57 +02:00
go.jsf Added Go syntax highlight support 2013-02-21 01:15:28 -03:00
haml.jsf Haml: not every = is the start of ruby code 2011-10-25 18:58:15 +02:00
html.jsf Call js.js(php) instead of js.js(html) when using html(php) 2012-05-13 01:38:13 +02:00
htmlerb.jsf New highlighter for Ruby's ERB and HTML embedded ERB 2011-10-04 21:26:20 +02:00
ini.jsf New syntax highlighter for INI files 2011-08-02 23:46:07 +02:00
iptables.jsf Highlight module usage in iptables 2013-06-22 21:54:42 +02:00
java.jsf Move <script> Javascript highlighting from java.java(script) to js.js(html) 2012-05-13 01:05:48 +02:00
js.jsf Add support for regex charclasses and thus / in charclasses 2014-10-08 05:19:13 -04:00
json.jsf Add a new strict JSON highlighter 2014-10-08 04:41:25 -04:00
lsl.jsf Add LSL support from Zai Lynch 2014-08-29 16:34:08 -04:00
md.jsf markdown: add link and rule highlight 2014-03-01 21:59:59 +01:00
php.jsf PHP: Fix end " or ' hilite after variable substitution 2012-04-10 13:55:20 +02:00
powershell.jsf Added powershell.jsf. 2014-02-11 21:05:34 +01:00
prolog.jsf New highlighter for Erlang 2011-10-30 20:33:38 +01:00
properties.jsf Cleaned properties.jsf up 2011-08-02 23:45:43 +02:00
puppet.jsf Allow mixed-case (camelCase) variable and class names 2014-05-07 17:07:51 -07:00
python.jsf Fix Python decorators highlighting 2014-11-11 09:39:35 +01:00
ruby.jsf Remove load 2013-04-27 14:01:06 +02:00
sieve.jsf Add brand new highlighter for sieve email filtering language 2011-11-06 16:14:14 +01:00
sql.jsf Add SQL support, unknown source 2014-08-29 16:35:39 -04:00
tex.jsf TeX: add recognition of \verb+foo+ commands 2011-11-22 10:13:36 +01:00
whitespace.jsf Added whitespace highlighting scheme 2011-08-05 22:56:58 +02:00
xml_nest-decl.patch Added XML nested declaration patch 2011-08-05 22:58:55 +02:00
yaml.jsf yaml: fix minor bug 2011-11-10 21:07:51 +01:00

README.md

JOE Syntax Highlighting

This directory mainly contains improved and completely new JOE syntax files fixing bugs in the original files and adding support for new languages.

Using

*.jsf

To enable the .jsf files in this repository they need to appear in JOEs 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 on Mac OS X. You may download the latest jsf-bundle 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 /etc/joe/ftyperc, you may place the modified one in ~/.joe/ as ~/.joe/ftyperc.

How JOE syntax highlighting works

See HowItWorks.md which is a reworked version of the header of c.jsf. Another good resource might be jsf.jsf.

Other Syntax Files

Licensing

Every .jsf file from the original repository is under GPL2 as JOE.

Every .jsf file created by me is under GPL2 as JOE.

Files with unknown license info:

For JOE see here.
For JOE project see here.
For original JOE syntax files see here.

You can find this repository here.