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

Fix ftyperc for upstream

This commit is contained in:
cn 2015-03-04 21:32:59 +01:00
parent 9acf48de45
commit 550a71127d

124
ftyperc
View File

@ -1,8 +1,8 @@
File Type table. This is :included by the joerc file. 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. No '.' in file name? Assume it's a text file and we want wordwrap on.
* *
-wordwrap -wordwrap
File name with '.'? It's probably not a text file. File name with '.'? It's probably not a text file.
*.* *.*
@ -51,18 +51,15 @@
-wordwrap -wordwrap
-syntax troff -syntax troff
System RC file
*rc
-syntax conf
TeX TeX
*.tex *.tex
-wordwrap -wordwrap
-syntax tex -syntax tex
-tex_comment -tex_comment
-no_double_quoted -no_double_quoted
*.sty *.sty
-wordwrap
-syntax tex -syntax tex
-tex_comment -tex_comment
-no_double_quoted -no_double_quoted
@ -441,6 +438,18 @@
-c_comment -c_comment
-cpp_comment -cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
*.hh
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-cpp_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/% -cpara >#!;*/%
Verilog file Verilog file
@ -483,15 +492,19 @@
XML XML
*.xml *.xml
-wordwrap
-autoindent -autoindent
-syntax xml -syntax xml
XML
*.xsd *.xsd
-wordwrap
-autoindent -autoindent
-syntax xml -syntax xml
* *
+<\?xml +<\?xml
-wordwrap
-autoindent -autoindent
-syntax xml -syntax xml
@ -502,10 +515,12 @@
HTML HTML
*.htm *.htm
-wordwrap
-autoindent -autoindent
-syntax html -syntax html
*.html *.html
-wordwrap
-autoindent -autoindent
-syntax html -syntax html
@ -547,6 +562,15 @@
-smarthome -smarthome
-smartbacks -smartbacks
Typescript
*.ts
-autoindent
-syntax typescript
-smarthome
-smartbacks
-purify
-cpara >#!;*/%
Hypertext preprocessor file Hypertext preprocessor file
*.php *.php
-autoindent -autoindent
@ -557,7 +581,7 @@
Python Python
* *
+#!\+\[ ]\+\[a-z/]\+\[ ]python\+\[0-9]\> +#!\+\[ ]\+\[a-z/]\+\[ ]python\>
-autoindent -autoindent
-syntax python -syntax python
-smarthome -smarthome
@ -638,7 +662,7 @@
-pound_comment -pound_comment
-text_delimiters do=done:if=elif=else=fi:case=esac -text_delimiters do=done:if=elif=else=fi:case=esac
*.bashrc *.bash
-autoindent -autoindent
-syntax sh -syntax sh
-pound_comment -pound_comment
@ -772,18 +796,44 @@
-autoindent -autoindent
-syntax tcl -syntax tcl
Go language
*.go
-autoindent
-syntax go
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
CSharp
*.cs
-autoindent
-syntax csharp
-smarthome
-smartbacks
-purify
-cpara >#!;*/%
-text_delimiters #region=#endregion:#if=#elif=#else=#endif
RESX/.NET resource files
*.resx
-autoindent
-syntax xml
Joe Syntax File Joe Syntax File
*.jsf *.jsf
-autoindent -autoindent
-syntax jsf -syntax jsf
-smarthome -smarthome
-tab 8
*.jsf.in *.jsf.in
-autoindent -autoindent
-syntax jsf -syntax jsf
-smarthome -smarthome
-tab 8
Autoconfig file Autoconfig file
*.ac *.ac
@ -810,6 +860,30 @@
-wordwrap -wordwrap
-syntax mail -syntax mail
System RC file
*rc
-syntax conf
Windows batch files
*.bat
-autoindent
-syntax batch
*.cmd
-autoindent
-syntax batch
Windows configuration files
*.ini
-pound_comment
-semi_comment
-syntax ini
*.inf
-pound_comment
-semi_comment
-syntax ini
JOERC file JOERC file
*ftyperc *ftyperc
-syntax joerc -syntax joerc
@ -883,12 +957,6 @@
-pound_comment -pound_comment
-syntax properties -syntax properties
INI file
*.ini
-pound_comment
-semi_comment
-syntax ini
*hgrc *hgrc
-pound_comment -pound_comment
-semi_comment -semi_comment
@ -980,19 +1048,6 @@
-syntax iptables -syntax iptables
-pound_comment -pound_comment
Go
*.go
-autoindent
-syntax go
-tab 4
-smarthome
-smartbacks
-purify
-single_quoted
-c_comment
-text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif
-cpara >#!;*/%
PowerShell PowerShell
*.ps1 *.ps1
-syntax powershell -syntax powershell
@ -1001,15 +1056,6 @@
*COMMIT_EDITMSG *COMMIT_EDITMSG
-syntax git-commit -syntax git-commit
LSL
*.lsl
-autoindent
-syntax lsl
-smarthome
-smartbacks
-c_comment
-cpp_comment
Elixir Elixir
*.ex *.ex
-autoindent -autoindent