Files
joe-syntax/ftyperc
T

904 lines
9.7 KiB
Plaintext
Raw Normal View History

File Type table. This is :included by the joerc file.
2017-10-04 15:29:47 +02:00
Scripts can look like this '#!/usr/bin/python' or this '#! /usr/bin/env python3'
2017-10-04 15:29:47 +02:00
A text file
[text]
No '.' in file name? Assume it's a text file and we want wordwrap on.
2017-10-04 15:29:47 +02:00
*
Text file.
*.txt
2017-10-04 15:29:47 +02:00
Not a text file
[not_text]
File name with '.'? It's probably not a text file.
*.*
2017-10-04 15:29:47 +02:00
-wordwrap
Diff
2017-10-04 15:29:47 +02:00
[diff]
*
2017-10-04 15:29:47 +02:00
+\? [A-Za-z]
+Index: [A-Za-z]
+Only in
+Nur in
+---
2017-10-04 15:29:47 +02:00
+\*\*\*
+[1-9][0-9]*[cda]
*.diff
*.patch
-syntax diff
Troff
2017-10-04 15:29:47 +02:00
[troff]
*.1
*.1.in
-wordwrap
-syntax troff
2017-10-06 11:43:16 +02:00
UNIX configuration file
[conf]
Automake file
*.am
System RC file
*rc
-autoindent
-syntax conf
-pound_comment
TeX
2017-10-04 15:29:47 +02:00
[tex]
*.tex
*.sty
-syntax tex
-tex_comment
-no_double_quoted
2017-10-04 15:29:47 +02:00
-wordwrap
News/mail files.
2017-10-04 15:29:47 +02:00
[email]
*.article*
*.followup
*.letter
NN newsreader
*tmp/nn.*
mail
*tmp/Re*
elm
*tmp/snd.*
dmail
*tmp/dmt*
pine
*tmp/pico.*
2017-10-04 15:29:47 +02:00
Mutt
*tmp/mutt-*
-wordwrap
-syntax mail
2017-10-04 15:29:47 +02:00
AVR assembly language
[avr]
*.avr
*.inc
-syntax avr
-autoindent
-wordwrap
2017-10-04 15:29:47 +02:00
-tab 8
2017-10-04 15:29:47 +02:00
Generic assembly language
[assembly]
*.asm
*.s
*.S
-wordwrap
-syntax asm
2017-10-04 15:29:47 +02:00
Mason (Perl in HTML)
[mason]
*.mas
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax mason
-smarthome
-smartbacks
SML
2017-10-04 15:29:47 +02:00
[sml]
*.sml
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax sml
-smarthome
-smartbacks
-istep 2
2017-10-04 15:29:47 +02:00
OCaml
[ocaml]
*.ml
OCaml language interface
*.mli
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax ocaml
-smarthome
-smartbacks
-istep 2
Ruby
2017-10-04 15:29:47 +02:00
[ruby]
*.rb
2011-09-22 16:46:45 +02:00
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n]*ruby[0-9.]*\>
2011-08-03 00:15:46 +02:00
*.gemspec
*Gemfile
*Rakefile
2013-05-12 12:13:12 +02:00
*Guardfile
2022-01-21 20:38:47 +01:00
*Vagrantfile
2012-08-13 23:02:29 +02:00
*.rabl
-autoindent
2017-10-04 15:29:47 +02:00
-title
2012-08-13 23:02:29 +02:00
-pound_comment
-syntax ruby
2011-08-03 00:07:01 +02:00
-text_delimiters do=end
Perl
2017-10-04 15:29:47 +02:00
[perl]
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n]*perl[0-9.]*\>
*.pl
*.pm
2013-07-17 07:57:12 -04:00
*.t
-autoindent
2017-10-04 15:29:47 +02:00
-title
2013-07-17 07:57:12 -04:00
-syntax perl
-smarthome
-smartbacks
-pound_comment
-single_quoted
2017-10-04 15:29:47 +02:00
SQL
[sql]
*.sql
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax sql
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-vhdl_comment
-cpp_comment
-text_delimiters BEGIN|Begin|begin=END|End|end
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
AWK
[awk]
*.awk
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax awk
-smarthome
-smartbacks
-purify
-pound_comment
YACC
2017-10-04 15:29:47 +02:00
[yacc]
*.y
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax c
2017-10-04 15:29:47 +02:00
-highlighter_context
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
Lex
[lex]
*.l
*.lex
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax c
2017-10-04 15:29:47 +02:00
-highlighter_context
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
Ada
[ada]
*.adb
*.ads
-syntax ada
-autoindent
2017-10-04 15:29:47 +02:00
-title
-istep 2
-smarthome
-smartbacks
-purify
-vhdl_comment
-text_delimiters declare|Declare|DECLARE|exception|Exception|EXCEPTION|if|If|IF|loop|Loop|LOOP|case|Case|CASE|package|Package|PACKAGE|procedure|Procedure|PROCEDURE|record|Record|RECORD|function|Function|FUNCTION=end|End|END
COBOL
2017-10-04 15:29:47 +02:00
[cobol]
*.cbl
*.cob
-syntax cobol
REXX
2017-10-04 15:29:47 +02:00
[rexx]
*.rex
*.REX
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n]*rexx[0-9.]*\>
-syntax rexx
-autoindent
2017-10-04 15:29:47 +02:00
-title
2017-10-04 15:29:47 +02:00
SED script
[sed]
*.sed
-syntax sed
Postscript
2017-10-04 15:29:47 +02:00
[postscript]
*.ps
*.eps
-syntax ps
2017-10-04 15:29:47 +02:00
C language
[c]
*.c
2017-10-04 15:29:47 +02:00
*.cpp
*.cc
*.c++
C language header file
*.h
*.h.in
*.hpp
*.h++
*.hh
*.mm
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax c
2017-10-04 15:29:47 +02:00
-highlighter_context
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
Verilog
[verilog]
*.v
Verilog header file
*.vh
-autoindent
2017-10-04 15:29:47 +02:00
-syntax verilog
-istep 2
-smarthome
-smartbacks
-purify
-c_comment
-cpp_comment
2017-10-04 15:29:47 +02:00
-text_delimiters `ifdef|`ifndef=`else=`endif:begin=end:case|casex|casez=endcase:function=endfunction:module=endmodule:task=endtask:attribute=endattribute:primitive=endprimitive:table=endtable
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
VHDL
[vhdl]
*.vhd
-autoindent
2017-10-04 15:29:47 +02:00
-syntax vhdl
-istep 2
-smarthome
-smartbacks
-purify
2017-10-04 15:29:47 +02:00
-vhdl_comment
-text_delimiters entity|ENTITY|if|IF|component|COMPONENT|loop|LOOP|configuration|CONFIGURATION|units|UNITS|record|RECORD|case|CASE|function|FUNCTION|package|PACKAGE|architecture|ARCHITECTURE|block|BLOCK|process|PROCESS|generate|GENERATE=end|END
-cpara >#!;*-/%
2017-10-04 15:29:47 +02:00
XML
[xml]
*.xml
*.xsd
*
+<.xml
*.jnlp
RESX/.NET resource files
*.resx
Ant's build.xml
*build.xml
-autoindent
-syntax xml
Apple plists
[plist]
*.plist
-autoindent
-syntax xml
HTML
[html]
*.htm
*.html
-wordwrap
-autoindent
-smarthome
-smartbacks
2017-10-04 15:29:47 +02:00
-syntax html
2017-10-04 15:29:47 +02:00
CSS
[css]
*.css
-wordwrap
-autoindent
-smarthome
-smartbacks
2017-10-04 15:29:47 +02:00
-syntax css
2017-10-04 15:29:47 +02:00
JAVA
[java]
*.java
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax java
-smarthome
-smartbacks
-c_comment
-cpp_comment
2017-10-04 15:29:47 +02:00
-purify
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
Javascript
[javascript]
*.js
*
+#![ ]*[^\n]*nodejs[0-9.]*\>
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax js
-smarthome
-smartbacks
-purify
-c_comment
-cpp_comment
-cpara >#!;*/%
2017-10-04 15:29:47 +02:00
JSON
[json]
*.json
-autoindent
2017-10-04 15:29:47 +02:00
-syntax json
-smarthome
-smartbacks
2017-10-04 15:29:47 +02:00
Typescript
[typescript]
*.ts
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax typescript
-smarthome
-smartbacks
-purify
-c_comment
-cpp_comment
-cpara >#!;*/%
Hypertext preprocessor file
2017-10-04 15:29:47 +02:00
[php]
*.php
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax php
-smarthome
-smartbacks
-purify
Python
2017-10-04 15:29:47 +02:00
[python]
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n]*python[0-9.]*\>
*.py
2021-06-25 11:34:36 +02:00
*.star
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax python
2017-10-04 15:29:47 +02:00
-highlighter_context
-smarthome
-smartbacks
-purify
2017-10-04 15:29:47 +02:00
-single_quoted
-pound_comment
2017-10-04 15:29:47 +02:00
C-shell
[csh]
*
+#![ ]*[^\n ]*/csh\>
+#![ ]*[^\n ]*/tcsh\>
*.csh
*.login
*.logout
*.tcsh
*.tcshrc
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax csh
-pound_comment
Shell
2017-10-04 15:29:47 +02:00
[sh]
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n ]*/sh\>
+#![ ]*[^\n ]*/bash\>
*.sh
*profile
2017-10-04 15:29:47 +02:00
*.bash
2011-10-07 10:50:57 +02:00
*.bashrc
*.bash_login
*.bash_logout
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax sh
2017-10-04 15:29:47 +02:00
-highlighter_context
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
2017-10-04 15:29:47 +02:00
Lisp
[lisp]
*.lisp
*.lsp
*.el
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax lisp
-semi_comment
2017-10-04 15:29:47 +02:00
Korn shell
[ksh]
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n ]*/ksh\>
*.ksh
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax sh
2017-10-04 15:29:47 +02:00
-highlighter_context
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
2017-10-04 15:29:47 +02:00
PASCAL
[pascal]
*.p
*.pas
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax pascal
-smarthome
-smartbacks
-purify
-text_delimiters begin|BEGIN|record|RECORD|case|CASE=end|END:repeat|REPEAT=until|UNTIL
Fortran
2017-10-04 15:29:47 +02:00
[fortran]
*.f
2013-12-01 23:47:20 +01:00
*.f90
*.for
*.FOR
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax fortran
Cadence SKILL
2017-10-04 15:29:47 +02:00
[skill]
*.il
-semi_comment
-syntax skill
-autoindent
2017-10-04 15:29:47 +02:00
-title
-istep 3
-indentc 32
-smartbacks
-smarthome
-indentfirst
2017-10-04 15:29:47 +02:00
Lua
[lua]
*.lua
2013-03-10 11:26:56 +01:00
*
2017-10-04 15:29:47 +02:00
+#![ ]*[^\n]*lua[0-9.]*\>
2013-03-10 11:26:56 +01:00
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax lua
TCL
2017-10-04 15:29:47 +02:00
[tcl]
*.tcl
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax tcl
2017-10-04 15:29:47 +02:00
Go language
[go]
*.go
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax go
-smarthome
2017-10-04 15:29:47 +02:00
-smartbacks
-purify
-single_quoted
-c_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
CSharp
[c#]
*.cs
-autoindent
-title
-syntax csharp
-smarthome
-smartbacks
-purify
-cpara >#!;*/%
-text_delimiters #region=#endregion:#if=#elif=#else=#endif
2017-10-04 15:29:47 +02:00
Joe Syntax File
[jsf]
*.jsf
*.jsf.in
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax jsf
-smarthome
2011-08-01 11:09:48 +02:00
-tab 8
2017-10-04 15:29:47 +02:00
M4 / Autoconfig file
[m4]
*.ac
*.m4
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax m4
2017-10-04 15:29:47 +02:00
Matlab file (clashes with objective-C)
[matlab]
*.m
-wordwrap
-syntax matlab
2017-10-04 15:29:47 +02:00
Windows batch files
[bat]
*.bat
*.cmd
-autoindent
-syntax batch
JOERC file
2017-10-04 15:29:47 +02:00
[joerc]
*ftyperc
*joerc
*jmacsrc
*jstarrc
*rjoerc
*jpicorc
*joerc.in
*jmacsrc.in
*jstarrc.in
*rjoerc.in
*jpicorc.in
-syntax joerc
2011-08-01 02:00:29 +02:00
Markdown
2017-10-04 15:29:47 +02:00
[markdown]
2011-08-01 02:00:29 +02:00
*.md
-syntax md
2017-10-04 15:29:47 +02:00
-wordwrap
2011-08-01 02:00:29 +02:00
YAML
2017-10-04 15:29:47 +02:00
[yaml]
2011-08-01 02:00:29 +02:00
*.yml
*.yaml
-autoindent
-smarthome
-smartbacks
2011-08-03 00:07:01 +02:00
-pound_comment
2011-08-01 02:00:29 +02:00
-syntax yaml
Debian apt
2017-10-04 15:29:47 +02:00
[debian]
*apt/sources.list
*sources.list.*
2011-08-03 00:07:01 +02:00
-pound_comment
-syntax debian
2011-08-02 13:58:41 +02:00
2017-10-04 15:29:47 +02:00
debcontrol
[control]
*control
*copyright
-syntax debcontrol
Java's .properties
2017-10-04 15:29:47 +02:00
[java_properties]
*.properties
2011-08-03 00:07:01 +02:00
this is part of the specification:
-encoding iso-8859-1
-pound_comment
-syntax properties
2011-08-02 23:46:07 +02:00
2017-10-04 15:29:47 +02:00
INI Files
[ini]
2011-08-02 23:46:07 +02:00
*.ini
2017-10-04 15:29:47 +02:00
*.inf
2011-08-02 23:46:07 +02:00
*hgrc
2011-08-03 00:07:01 +02:00
*.gitconfig
*.git/config
*.service
2017-10-04 15:29:47 +02:00
-syntax ini
2011-08-03 00:07:01 +02:00
-pound_comment
-semi_comment
plain ERB
2017-10-04 15:29:47 +02:00
[erb]
*.erb
-syntax erb
2011-10-19 20:34:20 +02:00
ERB within HTML
2017-10-04 15:29:47 +02:00
[erb_html]
*.html.erb
-syntax htmlerb
2011-10-19 20:34:20 +02:00
Haml
2017-10-04 15:29:47 +02:00
[haml]
2011-10-19 20:34:20 +02:00
*.haml
-syntax haml
-istep 2
-indentc 32
-autoindent
-smarthome
-smartbacks
2011-10-30 20:33:38 +01:00
Erlang
2017-10-04 15:29:47 +02:00
[erlang]
2011-10-30 20:33:38 +01:00
*.erl
2012-07-02 16:47:30 +02:00
*.eterm
*.app.src
*rebar.config
*.hrl
*.erlang
-syntax erlang
-autoindent
2017-10-04 15:29:47 +02:00
-title
*.escript
2018-08-30 16:59:36 +01:00
-syntax erlang
-autoindent
-tab 4
Sieve (ManageSieve)
2017-10-04 15:29:47 +02:00
[sieve]
*.sieve
-syntax sieve
-autoindent
2017-10-04 15:29:47 +02:00
-title
2012-07-07 14:44:42 +02:00
Puppet
2017-10-04 15:29:47 +02:00
[puppet]
2012-07-07 14:44:42 +02:00
*.pp
-syntax puppet
-pound_comment
-autoindent
2017-10-04 15:29:47 +02:00
-title
ip(6)tables
2017-10-04 15:29:47 +02:00
[iptables]
*
+# Generated by iptables-save
2017-10-04 15:29:47 +02:00
+# Generated by ip6tables-save
-syntax iptables
-pound_comment
2017-10-04 15:29:47 +02:00
PowerShell
[powershell]
*.ps1
*.psm1
-syntax powershell
-autoindent
-smarthome
-smartbacks
Git COMMIT_EDITMSG
[git-commit]
*COMMIT_EDITMSG
-syntax git-commit
Elixir
[elixir]
*.ex
*.exs
-autoindent
-smarthome
-smartbacks
-title
-syntax elixir
-pound_comment
2017-10-04 15:29:47 +02:00
-text_delimiters do=else=end
-indentc 32
-istep 2
2013-02-21 01:15:28 -03:00
2017-10-04 15:29:47 +02:00
R
[r]
*.r
2013-02-21 01:15:28 -03:00
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax r
-pound_comment
2013-02-21 01:15:28 -03:00
-smarthome
-smartbacks
-purify
-single_quoted
2017-10-04 15:29:47 +02:00
Groovy
[groovy]
*.gvy
*.groovy
*.gy
*.gsh
-autoindent
-title
-syntax groovy
2013-02-21 01:15:28 -03:00
-c_comment
2017-10-04 15:29:47 +02:00
-cpp_comment
-smarthome
-smartbacks
-purify
-single_quoted
2017-10-04 15:29:47 +02:00
Clojure
[clojure]
*.clj
*.cljs
*.cljc
*.edn
-autoindent
-title
-syntax clojure
-semi_comment
-smarthome
-smartbacks
-purify
2014-06-14 09:32:33 +02:00
2017-10-04 15:29:47 +02:00
Rust
[rust]
*.rs
-autoindent
-title
-syntax rust
-c_comment
-cpp_comment
-smarthome
-smartbacks
-purify
-single_quoted
2014-08-29 16:33:08 -04:00
2017-10-04 15:29:47 +02:00
Coffeescript
[coffee]
*.coffee
2014-08-29 16:33:08 -04:00
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax coffee
-pound_comment
2014-08-29 16:33:08 -04:00
-smarthome
-smartbacks
2017-10-04 15:29:47 +02:00
-purify
-single_quoted
Scala
[scala]
*.scala
-autoindent
-title
-syntax scala
2014-08-29 16:33:08 -04:00
-c_comment
-cpp_comment
2017-10-04 15:29:47 +02:00
-smarthome
-smartbacks
-purify
-single_quoted
2015-01-08 18:00:26 +06:00
2017-10-04 15:29:47 +02:00
Swift
[swift]
*.swift
2015-01-08 18:00:26 +06:00
-autoindent
2017-10-04 15:29:47 +02:00
-title
-syntax swift
-c_comment
-cpp_comment
-smarthome
-smartbacks
-purify
-single_quoted
D
[d]
*.d
-autoindent
-title
-syntax d
-c_comment
-cpp_comment
-smarthome
-smartbacks
-purify
-single_quoted
Docker
[dockerfile]
*Dockerfile
-autoindent
-title
-syntax dockerfile
2015-01-08 18:00:26 +06:00
-pound_comment
2017-10-04 15:29:47 +02:00
RPM Spec
[spec]
*.spec
2015-01-08 18:00:26 +06:00
-autoindent
2017-10-04 15:29:47 +02:00
-syntax spec
Makefile
[makefile]
*Makefile
*makefile
*Makefile.in
*makefile.in
*MAKEFILE
-autoindent
-syntax makefile
2015-01-08 18:00:26 +06:00
-pound_comment
2015-05-01 23:32:18 +02:00
2017-10-04 15:29:47 +02:00
LSL
[lsl]
*.lsl
2015-05-01 23:32:18 +02:00
-autoindent
2017-10-04 15:29:47 +02:00
-syntax lsl
-smarthome
-smartbacks
-c_comment
-cpp_comment
2015-05-01 23:32:18 +02:00
2017-10-04 15:29:47 +02:00
Scheme
[scheme]
*.scm
2015-05-01 23:32:18 +02:00
*.ss
-autoindent
-syntax scheme
-semi_comment
2017-02-04 23:41:34 +01:00
2017-04-10 12:53:50 +02:00
Terraform
2017-10-04 15:29:47 +02:00
[terraform]
2017-04-10 12:53:50 +02:00
*.tf
*.tfvars
-autoindent
-syntax terraform
-c_comment
Asciidoc
[asciidoc]
*.adoc
*.asciidoc
-syntax asciidoc
-wordwrap