1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 22:54:23 +01:00
joe-syntax/ftyperc

1046 lines
12 KiB
Plaintext
Raw Normal View History

File Type table. This is :included by the joerc file.
No '.' in file name? Assume it's a text file and we want wordwrap on.
*
-wordwrap
File name with '.'? It's probably not a text file.
*.*
Diff
*
+---
-syntax diff
*
+***
-syntax diff
*
+\[1-9]\+\[0-9]\[cda]
-syntax diff
*.diff
-syntax diff
*.patch
-syntax diff
*
+Only in
-syntax diff
*
+Nur in
-syntax diff
*
+Index: \[A-Za-z]
-syntax diff
*
+? \[A-Za-z]
-syntax diff
Troff
*.1
-wordwrap
-syntax troff
*.1.in
-wordwrap
-syntax troff
System RC file
*rc
-syntax conf
TeX
*.tex
2011-11-27 11:07:46 +01:00
-wordwrap
-syntax tex
-tex_comment
-no_double_quoted
*.sty
-syntax tex
-tex_comment
-no_double_quoted
Text file.
*.txt
-wordwrap
News/mail files.
*.article*
-wordwrap
-syntax mail
*.followup
-wordwrap
-syntax mail
*.letter
-wordwrap
-syntax mail
NN newsreader
*tmp/nn.*
-wordwrap
-syntax mail
mail
*tmp/Re*
-wordwrap
-syntax mail
elm
*tmp/snd.*
-wordwrap
-syntax mail
dmail
*tmp/dmt*
-wordwrap
-syntax mail
pine
*tmp/pico.*
-wordwrap
-syntax mail
Assembly language
*.asm
-wordwrap
-syntax asm
*.s
-wordwrap
-syntax asm
*.S
-wordwrap
-syntax asm
Mason
*.mas
-autoindent
-syntax mason
-smarthome
-smartbacks
SML
*.sml
-autoindent
-syntax sml
-smarthome
-smartbacks
-istep 2
OCaml lanaguage file
*.ml
-autoindent
-syntax ocaml
-smarthome
-smartbacks
-istep 2
OCaml language interface
*.mli
-autoindent
-syntax ocaml
-smarthome
-smartbacks
-istep 2
Ruby
*.rb
-autoindent
-pound_comment
-syntax ruby
2011-08-03 00:15:46 +02:00
-text_delimiters do=end
2011-09-22 16:46:45 +02:00
*
+#!\+\[ ]\+\[a-z/ ]ruby\>
2011-09-22 16:46:45 +02:00
-autoindent
-pound_comment
-syntax ruby
-text_delimiters do=end
2011-08-03 00:15:46 +02:00
*.gemspec
-autoindent
-pound_comment
-syntax ruby
-text_delimiters do=end
*Gemfile
-autoindent
-pound_comment
-syntax ruby
-text_delimiters do=end
*Rakefile
-autoindent
-pound_comment
-syntax ruby
2012-08-13 23:02:29 +02:00
-text_delimiters do=end
2013-05-12 12:13:12 +02:00
*Guardfile
-autoindent
-pound_comment
-syntax ruby
-text_delimiters do=end
2012-08-13 23:02:29 +02:00
*.rabl
-autoindent
-pound_comment
-syntax ruby
-text_delimiters do=end
Perl
*
2013-07-17 13:57:12 +02:00
+#!\+\[ ]\+\[a-z/]\[/ ]perl\>
-autoindent
-syntax perl
-smarthome
-smartbacks
-pound_comment
-single_quoted
*.pl
-autoindent
-syntax perl
-smarthome
-smartbacks
-pound_comment
-single_quoted
*.pm
-autoindent
-syntax perl
-smarthome
-smartbacks
-pound_comment
2013-07-17 13:57:12 +02:00
-single_quoted
*.t
-autoindent
-syntax perl
-smarthome
-smartbacks
-pound_comment
-single_quoted
SQL file
*.sql
-autoindent
-syntax sql
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-vhdl_comment
-cpp_comment
-text_delimiters BEGIN|Begin|begin=END|End|end
-cpara >#!;*/%
AWK language file
*.awk
-autoindent
-syntax awk
-smarthome
-smartbacks
-purify
-pound_comment
YACC
*.y
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
LEX
*.l
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.lex
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
ADA
*.adb
-syntax ada
-autoindent
-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
*.ads
-syntax ada
-autoindent
-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
*.cbl
-syntax cobol
*.cob
-syntax cobol
REXX
*.rex
-syntax rexx
-autoindent
*.REX
-syntax rexx
-autoindent
*
+#!\+\[ ]\+\[a-z/]/rxx\>
-syntax rexx
-autoindent
sed
*.sed
-syntax sed
Postscript
*.ps
-syntax ps
*.eps
-syntax ps
C language file
*.c
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.cpp
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.cc
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.c++
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
C language header file
*.h
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.h.in
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.hpp
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.h++
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
Verilog file
*.v
-autoindent
-syntax verilog
-istep 2
-smarthome
-smartbacks
-purify
-c_comment
-cpp_comment
-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 >#!;*/%
Verilog header file
*.vh
-autoindent
-syntax verilog
-istep 2
-smarthome
-smartbacks
-purify
-c_comment
-cpp_comment
-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 >#!;*/%
VHDL file
*.vhd
-autoindent
-syntax vhdl
-istep 2
-smarthome
-smartbacks
-purify
-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 >#!;*-/%
XML
*.xml
-autoindent
-syntax xml
*.xsd
2011-10-17 18:59:52 +02:00
-autoindent
-syntax xml
*
+<\?xml
-autoindent
2011-10-17 18:59:52 +02:00
-syntax xml
Apple plists
*.plist
-autoindent
-syntax xml
HTML
*.htm
-autoindent
-syntax html
*.html
-autoindent
-syntax html
2011-11-06 20:39:24 +01:00
CSS
*.css
-syntax css
Java
*.java
-autoindent
-syntax java
-smarthome
-smartbacks
-c_comment
-cpp_comment
-purify
-cpara >#!;*/%
2012-05-13 12:40:07 +02:00
JNLP
*.jnlp
-autoindent
-syntax xml
Javascript
*.js
-autoindent
-syntax js
-smarthome
-smartbacks
-c_comment
-cpp_comment
-purify
-cpara >#!;*/%
2013-04-24 23:07:29 +02:00
JSON
*.json
-autoindent
2014-09-18 02:38:19 +02:00
-syntax json
2013-04-24 23:07:29 +02:00
-smarthome
-smartbacks
Hypertext preprocessor file
*.php
-autoindent
-syntax php
-smarthome
-smartbacks
-purify
Python
*
+#!\+\[ ]\+\[a-z/]\+\[ ]python\+\[0-9]\>
-autoindent
-syntax python
-smarthome
-smartbacks
-purify
*.py
-autoindent
-syntax python
-smarthome
-smartbacks
-purify
CSH
*
+#!\+\[ ]\+\[a-z/]/csh\>
-autoindent
-syntax csh
-pound_comment
*.csh
-autoindent
-syntax csh
-pound_comment
*.login
-autoindent
-syntax csh
-pound_comment
*.logout
-autoindent
-syntax csh
-pound_comment
TCSH
*
+#!\+\[ ]\+\[a-z/]/tcsh\>
-autoindent
-syntax csh
-pound_comment
*.tcsh
-autoindent
-syntax csh
-pound_comment
*.tcshrc
-autoindent
-syntax csh
-pound_comment
Shell
*
+#!\+\[ ]\+\[a-z/]/sh\>
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*.sh
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*profile
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
BASH Shell
*
+#!\+\[ ]\+\[a-z/]/bash\>
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*.bashrc
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*.bash_login
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*.bash_logout
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
LISP
*.lisp
-autoindent
-syntax lisp
-semi_comment
*.lsp
-autoindent
-syntax lisp
-semi_comment
*.el
-autoindent
-syntax lisp
-semi_comment
KSH
*
+#!\+\[ ]\+\[a-z/]/ksh\>
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
*.ksh
-autoindent
-syntax sh
-pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac
Makefile
2011-08-03 00:15:46 +02:00
*Makefile
-autoindent
2017-04-18 21:18:38 +02:00
-syntax makefile
2011-08-03 00:15:46 +02:00
-pound_comment
*makefile
-autoindent
2017-04-18 21:18:38 +02:00
-syntax makefile
2011-08-03 00:15:46 +02:00
-pound_comment
*Makefile.in
-autoindent
2017-04-18 21:18:38 +02:00
-syntax makefile
-pound_comment
2011-08-03 00:15:46 +02:00
*makefile.in
-autoindent
2017-04-18 21:18:38 +02:00
-syntax makefile
-pound_comment
2011-08-03 00:15:46 +02:00
*MAKEFILE
-autoindent
2017-04-18 21:18:38 +02:00
-syntax makefile
-pound_comment
Pascal
*.p
-autoindent
-syntax pascal
-smarthome
-smartbacks
-purify
-text_delimiters begin|BEGIN|record|RECORD|case|CASE=end|END:repeat|REPEAT=until|UNTIL
*.pas
-autoindent
-syntax pascal
-smarthome
-smartbacks
-purify
-text_delimiters begin|BEGIN|record|RECORD|case|CASE=end|END:repeat|REPEAT=until|UNTIL
Fortran
*.f
-autoindent
-syntax fortran
2013-12-01 23:47:20 +01:00
*.f90
-autoindent
-syntax fortran
*.for
-autoindent
-syntax fortran
*.FOR
-autoindent
-syntax fortran
Cadence SKILL
*.il
-semi_comment
-syntax skill
-autoindent
-istep 3
-indentc 32
-smartbacks
-smarthome
-indentfirst
LUA
*.lua
-autoindent
2013-03-10 11:26:56 +01:00
-syntax lua
*
+#!\+\[ ]\+\[a-z/ ]lua\>
-autoindent
-syntax lua
TCL
*.tcl
-autoindent
-syntax tcl
Joe Syntax File
*.jsf
-autoindent
-syntax jsf
-smarthome
-tab 8
*.jsf.in
-autoindent
-syntax jsf
-smarthome
-tab 8
Autoconfig file
*.ac
-autoindent
-syntax m4
M4 file
*.m4
-autoindent
-syntax m4
Matlab file
*.m
-wordwrap
-syntax matlab
Automake file
*.am
-autoindent
-syntax conf
Mail file
*tmp/mutt-*
-wordwrap
-syntax mail
JOERC file
*ftyperc
-syntax joerc
*joerc
-syntax joerc
*jmacsrc
-syntax joerc
*jstarrc
-syntax joerc
*rjoerc
-syntax joerc
*jpicorc
-syntax joerc
*joerc.in
-syntax joerc
*jmacsrc.in
-syntax joerc
*jstarrc.in
-syntax joerc
*rjoerc.in
-syntax joerc
*jpicorc.in
-syntax joerc
Markdown
*.md
-syntax md
YAML
*.yml
-autoindent
-smarthome
-smartbacks
-pound_comment
-syntax yaml
*.yaml
-autoindent
-smarthome
-smartbacks
-pound_comment
-syntax yaml
Debian apt
*apt/sources.list
-pound_comment
-syntax debian
*sources.list.*
-pound_comment
-syntax debian
Ant's build.xml
*build.xml
-syntax ant
Java's .properties
*.properties
this is part of the specification:
-encoding iso-8859-1
-pound_comment
-syntax properties
INI file
*.ini
-pound_comment
-semi_comment
-syntax ini
*hgrc
-pound_comment
-semi_comment
-syntax ini
*.gitconfig
-pound_comment
-semi_comment
-syntax ini
*.git/config
-pound_comment
-semi_comment
-syntax ini
Whitespace
*.whitespace
-syntax whitespace
--force
--spaces
plain ERB
*.erb
-syntax erb
ERB within HTML
*.html.erb
-syntax htmlerb
Haml
*.haml
-syntax haml
-istep 2
-indentc 32
-autoindent
-smarthome
-smartbacks
Erlang
*.erl
-syntax erlang
-autoindent
2012-07-02 16:47:30 +02:00
-tab 4
*.eterm
-syntax erlang
-autoindent
-tab 4
*.app.src
-syntax erlang
-autoindent
-tab 4
*rebar.config
-syntax erlang
-autoindent
-tab 4
*.hrl
-syntax erlang
-autoindent
-tab 4
*.erlang
-syntax erlang
-autoindent
-tab 4
Sieve (ManageSieve)
*.sieve
-syntax sieve
-autoindent
2012-07-07 14:44:42 +02:00
Puppet
*.pp
-syntax puppet
-pound_comment
-autoindent
ip(6)tables
*
+# Generated by iptables-save
-syntax iptables
-pound_comment
*
+# Generated by ip6tables-save
-syntax iptables
-pound_comment
2013-02-21 05:15:28 +01:00
Go
*.go
-autoindent
-syntax go
-tab 4
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
2013-03-10 11:26:56 +01:00
-cpara >#!;*/%
PowerShell
*.ps1
-syntax powershell
Git COMMIT_EDITMSG
*COMMIT_EDITMSG
-syntax git-commit
LSL
*.lsl
-autoindent
-syntax lsl
-smarthome
-smartbacks
-c_comment
-cpp_comment
2015-01-08 13:00:26 +01:00
Elixir
*.ex
-autoindent
-syntax elixir
-pound_comment
-text_delimiters do=end
*.exs
-autoindent
-syntax elixir
-pound_comment
-text_delimiters do=end
2015-05-01 23:32:18 +02:00
Scheme
*.scm
-autoindent
-syntax scheme
-semi_comment
*.ss
-autoindent
-syntax scheme
-semi_comment
Docker
*Dockerfile
-syntax dockerfile
Terraform
*.tf
-autoindent
-syntax terraform
-c_comment