ftyperc (10966B)
1 File Type table. This is :included by the joerc file. 2 Scripts can look like this '#!/usr/bin/python' or this '#! /usr/bin/env python3' 3 4 A text file 5 [text] 6 No '.' in file name? Assume it's a text file and we want wordwrap on. 7 * 8 Text file. 9 *.txt 10 11 Not a text file 12 [not_text] 13 File name with '.'? It's probably not a text file. 14 *.* 15 -wordwrap 16 17 Diff 18 [diff] 19 * 20 +\? [A-Za-z] 21 +Index: [A-Za-z] 22 +Only in 23 +Nur in 24 +--- 25 +\*\*\* 26 +[1-9][0-9]*[cda] 27 *.diff 28 *.patch 29 -syntax diff 30 31 Troff 32 [troff] 33 *.1 34 *.1.in 35 -wordwrap 36 -syntax troff 37 38 TeX 39 [tex] 40 *.tex 41 *.sty 42 -syntax tex 43 -tex_comment 44 -no_double_quoted 45 -wordwrap 46 47 News/mail files. 48 [email] 49 *.article* 50 *.followup 51 *.letter 52 NN newsreader 53 *tmp/nn.* 54 mail 55 *tmp/Re* 56 elm 57 *tmp/snd.* 58 dmail 59 *tmp/dmt* 60 pine 61 *tmp/pico.* 62 Mutt 63 *tmp/mutt-* 64 -wordwrap 65 -syntax mail 66 67 AVR assembly language 68 [avr] 69 *.avr 70 *.inc 71 -syntax avr 72 -autoindent 73 -wordwrap 74 -tab 8 75 76 Generic assembly language 77 [assembly] 78 *.asm 79 *.s 80 *.S 81 -highlighter_context 82 -wordwrap 83 -syntax asm 84 85 Mason (Perl in HTML) 86 [mason] 87 *.mas 88 -autoindent 89 -title 90 -syntax mason 91 -smarthome 92 -smartbacks 93 -highlighter_context 94 95 SML 96 [sml] 97 *.sml 98 -autoindent 99 -title 100 -syntax sml 101 -smarthome 102 -smartbacks 103 -istep 2 104 -highlighter_context 105 106 OCaml 107 [ocaml] 108 *.ml 109 OCaml language interface 110 *.mli 111 -autoindent 112 -title 113 -syntax ocaml 114 -smarthome 115 -smartbacks 116 -istep 2 117 -highlighter_context 118 119 Ruby 120 [ruby] 121 *.rb 122 * 123 +#![ ]*[^\n]*ruby[0-9.]*\> 124 *.gemspec 125 *Gemfile 126 *Rakefile 127 *Guardfile 128 *.rabl 129 -autoindent 130 -title 131 -pound_comment 132 -syntax ruby 133 -text_delimiters do=end 134 -highlighter_context 135 136 Perl 137 [perl] 138 * 139 +#![ ]*[^\n]*perl[0-9.]*\> 140 *.pl 141 *.pm 142 *.t 143 -autoindent 144 -title 145 -syntax perl 146 -smarthome 147 -smartbacks 148 -pound_comment 149 -single_quoted 150 -highlighter_context 151 152 SQL 153 [sql] 154 *.sql 155 -autoindent 156 -title 157 -syntax sql 158 -smarthome 159 -smartbacks 160 -purify 161 -single_quoted 162 -c_comment 163 -vhdl_comment 164 -cpp_comment 165 -text_delimiters BEGIN|Begin|begin=END|End|end 166 -cpara >#!;*/% 167 -highlighter_context 168 169 AWK 170 [awk] 171 *.awk 172 -autoindent 173 -title 174 -syntax awk 175 -smarthome 176 -smartbacks 177 -purify 178 -pound_comment 179 -highlighter_context 180 181 YACC 182 [yacc] 183 *.y 184 -autoindent 185 -title 186 -syntax c 187 -highlighter_context 188 -smarthome 189 -smartbacks 190 -purify 191 -single_quoted 192 -c_comment 193 -cpp_comment 194 -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif 195 -cpara >#!;*/% 196 197 Lex 198 [lex] 199 *.l 200 *.lex 201 -autoindent 202 -title 203 -syntax c 204 -highlighter_context 205 -smarthome 206 -smartbacks 207 -purify 208 -single_quoted 209 -c_comment 210 -cpp_comment 211 -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif 212 -cpara >#!;*/% 213 214 Ada 215 [ada] 216 *.adb 217 *.ads 218 -syntax ada 219 -autoindent 220 -title 221 -istep 2 222 -smarthome 223 -smartbacks 224 -purify 225 -vhdl_comment 226 -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 227 -highlighter_context 228 229 COBOL 230 [cobol] 231 *.cbl 232 *.cob 233 -syntax cobol 234 -highlighter_context 235 236 REXX 237 [rexx] 238 *.rex 239 *.REX 240 * 241 +#![ ]*[^\n]*rexx[0-9.]*\> 242 -syntax rexx 243 -autoindent 244 -title 245 -highlighter_context 246 247 SED script 248 [sed] 249 *.sed 250 -syntax sed 251 -highlighter_context 252 253 Postscript 254 [postscript] 255 *.ps 256 *.eps 257 -syntax ps 258 -highlighter_context 259 260 C language 261 [c] 262 *.c 263 *.cpp 264 *.cc 265 *.c++ 266 C language header file 267 *.h 268 *.h.in 269 *.hpp 270 *.h++ 271 *.hh 272 *.mm 273 -autoindent 274 -title 275 -syntax c 276 -highlighter_context 277 -smarthome 278 -smartbacks 279 -purify 280 -single_quoted 281 -c_comment 282 -cpp_comment 283 -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif 284 -cpara >#!;*/% 285 286 Verilog 287 [verilog] 288 *.v 289 Verilog header file 290 *.vh 291 -autoindent 292 -syntax verilog 293 -istep 2 294 -smarthome 295 -smartbacks 296 -purify 297 -c_comment 298 -cpp_comment 299 -text_delimiters `ifdef|`ifndef=`else=`endif:begin=end:case|casex|casez=endcase:function=endfunction:module=endmodule:task=endtask:attribute=endattribute:primitive=endprimitive:table=endtable 300 -cpara >#!;*/% 301 -highlighter_context 302 303 VHDL 304 [vhdl] 305 *.vhd 306 -autoindent 307 -syntax vhdl 308 -istep 2 309 -smarthome 310 -smartbacks 311 -purify 312 -vhdl_comment 313 -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 314 -cpara >#!;*-/% 315 -highlighter_context 316 317 XML 318 [xml] 319 *.xml 320 *.xsd 321 * 322 +<.xml 323 *.jnlp 324 RESX/.NET resource files 325 *.resx 326 Ant's build.xml 327 *build.xml 328 -autoindent 329 -syntax xml 330 -highlighter_context 331 332 Apple plists 333 [plist] 334 *.plist 335 -autoindent 336 -syntax xml 337 338 HTML 339 [html] 340 *.htm 341 *.html 342 -wordwrap 343 -autoindent 344 -smarthome 345 -smartbacks 346 -syntax html 347 348 CSS 349 [css] 350 *.css 351 -wordwrap 352 -autoindent 353 -smarthome 354 -smartbacks 355 -syntax css 356 357 JAVA 358 [java] 359 *.java 360 -autoindent 361 -title 362 -syntax java 363 -smarthome 364 -smartbacks 365 -c_comment 366 -cpp_comment 367 -purify 368 -cpara >#!;*/% 369 -highlighter_context 370 371 Javascript 372 [javascript] 373 *.js 374 * 375 +#![ ]*[^\n]*nodejs[0-9.]*\> 376 -autoindent 377 -title 378 -syntax js 379 -smarthome 380 -smartbacks 381 -purify 382 -c_comment 383 -cpp_comment 384 -cpara >#!;*/% 385 -highlighter_context 386 387 JSON 388 [json] 389 *.json 390 -autoindent 391 -syntax json 392 -smarthome 393 -smartbacks 394 -highlighter_context 395 396 Typescript 397 [typescript] 398 *.ts 399 -autoindent 400 -title 401 -syntax typescript 402 -smarthome 403 -smartbacks 404 -purify 405 -c_comment 406 -cpp_comment 407 -cpara >#!;*/% 408 -highlighter_context 409 410 Hypertext preprocessor file 411 [php] 412 *.php 413 -autoindent 414 -title 415 -syntax php 416 -smarthome 417 -smartbacks 418 -purify 419 -highlighter_context 420 421 Python 422 [python] 423 * 424 +#![ ]*[^\n]*python[0-9.]*\> 425 *.py 426 -autoindent 427 -title 428 -syntax python 429 -highlighter_context 430 -smarthome 431 -smartbacks 432 -purify 433 -single_quoted 434 -pound_comment 435 436 Lisp 437 [lisp] 438 *.lisp 439 *.lsp 440 *.el 441 -autoindent 442 -title 443 -syntax lisp 444 -semi_comment 445 -highlighter_context 446 447 PASCAL 448 [pascal] 449 *.p 450 *.pas 451 -autoindent 452 -title 453 -syntax pascal 454 -smarthome 455 -smartbacks 456 -purify 457 -text_delimiters begin|BEGIN|record|RECORD|case|CASE=end|END:repeat|REPEAT=until|UNTIL 458 -highlighter_context 459 460 Fortran 461 [fortran] 462 *.f 463 *.f90 464 *.for 465 *.FOR 466 -autoindent 467 -title 468 -syntax fortran 469 -highlighter_context 470 471 Cadence SKILL 472 [skill] 473 *.il 474 -semi_comment 475 -syntax skill 476 -autoindent 477 -title 478 -istep 3 479 -indentc 32 480 -smartbacks 481 -smarthome 482 -indentfirst 483 -highlighter_context 484 485 Lua 486 [lua] 487 *.lua 488 * 489 +#![ ]*[^\n]*lua[0-9.]*\> 490 -autoindent 491 -title 492 -syntax lua 493 -highlighter_context 494 495 TCL 496 [tcl] 497 *.tcl 498 -autoindent 499 -title 500 -syntax tcl 501 -highlighter_context 502 503 Go language 504 [go] 505 *.go 506 -autoindent 507 -title 508 -syntax go 509 -smarthome 510 -smartbacks 511 -purify 512 -single_quoted 513 -c_comment 514 -text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif 515 -cpara >#!;*/% 516 -highlighter_context 517 518 CSharp 519 [c#] 520 *.cs 521 -autoindent 522 -title 523 -syntax csharp 524 -smarthome 525 -smartbacks 526 -purify 527 -cpara >#!;*/% 528 -text_delimiters #region=#endregion:#if=#elif=#else=#endif 529 -highlighter_context 530 531 Joe Syntax File 532 [jsf] 533 *.jsf 534 *.jsf.in 535 -autoindent 536 -title 537 -syntax jsf 538 -smarthome 539 -highlighter_context 540 541 Joe Colorscheme file 542 [jcf] 543 *.jcf 544 -syntax jcf 545 546 M4 / Autoconfig file 547 [m4] 548 *.ac 549 *.m4 550 -autoindent 551 -title 552 -syntax m4 553 -highlighter_context 554 555 Matlab file (clashes with objective-C) 556 [matlab] 557 *.m 558 -wordwrap 559 -syntax matlab 560 -highlighter_context 561 562 UNIX configuration file 563 [conf] 564 Automake file 565 *.am 566 *.gitignore 567 System RC file 568 *rc 569 Makefile 570 *Makefile 571 *makefile.in 572 *.config/*/*config* 573 *CMakeLists.txt 574 *Makefile.in 575 *makefile 576 *MAKEFILE 577 *pacman.conf 578 *.conf 579 -autoindent 580 -syntax conf 581 -pound_comment 582 -highlighter_context 583 584 Windows batch files 585 [bat] 586 *.bat 587 *.cmd 588 -autoindent 589 -syntax batch 590 -highlighter_context 591 592 JOERC file 593 [joerc] 594 *ftyperc 595 *joerc 596 *jmacsrc 597 *jstarrc 598 *rjoerc 599 *jpicorc 600 *joerc.in 601 *jmacsrc.in 602 *jstarrc.in 603 *rjoerc.in 604 *jpicorc.in 605 *jnoterc 606 *jnoterc.in 607 *joestarrc 608 *joestarrc.in 609 -syntax joerc 610 -highlighter_context 611 612 Markdown 613 [markdown] 614 *.md 615 -syntax md 616 -wordwrap 617 618 YAML 619 [yaml] 620 *.yml 621 *.yaml 622 -autoindent 623 -smarthome 624 -smartbacks 625 -pound_comment 626 -syntax yaml 627 -highlighter_context 628 629 Debian apt 630 [debian] 631 *apt/sources.list 632 *sources.list.* 633 -pound_comment 634 -syntax debian 635 636 Java's .properties 637 [java_properties] 638 *.properties 639 this is part of the specification: 640 -encoding iso-8859-1 641 -pound_comment 642 -syntax properties 643 -highlighter_context 644 645 INI Files 646 [ini] 647 *.ini 648 *.inf 649 *hgrc 650 *.gitconfig 651 *.git/config 652 -syntax ini 653 -pound_comment 654 -semi_comment 655 -highlighter_context 656 657 plain ERB 658 [erb] 659 *.erb 660 -syntax erb 661 -highlighter_context 662 663 ERB within HTML 664 [erb_html] 665 *.html.erb 666 -syntax htmlerb 667 -highlighter_context 668 669 Haml 670 [haml] 671 *.haml 672 -syntax haml 673 -istep 2 674 -indentc 32 675 -autoindent 676 -smarthome 677 -smartbacks 678 -highlighter_context 679 680 Erlang 681 [erlang] 682 *.erl 683 *.eterm 684 *.app.src 685 *rebar.config 686 *.hrl 687 *.erlang 688 -syntax erlang 689 -autoindent 690 -title 691 -highlighter_context 692 693 Sieve (ManageSieve) 694 [sieve] 695 *.sieve 696 -syntax sieve 697 -autoindent 698 -title 699 -highlighter_context 700 701 Puppet 702 [puppet] 703 *.pp 704 -syntax puppet 705 -pound_comment 706 -autoindent 707 -title 708 -highlighter_context 709 710 ip(6)tables 711 [iptables] 712 * 713 +# Generated by iptables-save 714 +# Generated by ip6tables-save 715 -syntax iptables 716 -pound_comment 717 718 PowerShell 719 [powershell] 720 *.ps1 721 *.psm1 722 -syntax powershell 723 -autoindent 724 -smarthome 725 -smartbacks 726 -highlighter_context 727 728 Git COMMIT_EDITMSG 729 [git-commit] 730 *COMMIT_EDITMSG 731 -syntax git-commit 732 733 Elixir 734 [elixir] 735 *.ex 736 *.exs 737 -autoindent 738 -smarthome 739 -smartbacks 740 -title 741 -syntax elixir 742 -pound_comment 743 -text_delimiters do=else=end 744 -indentc 32 745 -istep 2 746 -highlighter_context 747 748 R 749 [r] 750 *.r 751 -autoindent 752 -title 753 -syntax r 754 -pound_comment 755 -smarthome 756 -smartbacks 757 -purify 758 -single_quoted 759 -highlighter_context 760 761 Groovy 762 [groovy] 763 *.gvy 764 *.groovy 765 *.gy 766 *.gsh 767 -autoindent 768 -title 769 -syntax groovy 770 -c_comment 771 -cpp_comment 772 -smarthome 773 -smartbacks 774 -purify 775 -single_quoted 776 -highlighter_context 777 778 Clojure 779 [clojure] 780 *.clj 781 *.cljs 782 *.cljc 783 *.edn 784 -autoindent 785 -title 786 -syntax clojure 787 -semi_comment 788 -smarthome 789 -smartbacks 790 -purify 791 -highlighter_context 792 793 Rust 794 [rust] 795 *.rs 796 -autoindent 797 -title 798 -syntax rust 799 -c_comment 800 -cpp_comment 801 -smarthome 802 -smartbacks 803 -purify 804 -single_quoted 805 -highlighter_context 806 807 Coffeescript 808 [coffee] 809 *.coffee 810 -autoindent 811 -title 812 -syntax coffee 813 -pound_comment 814 -smarthome 815 -smartbacks 816 -purify 817 -single_quoted 818 -highlighter_context 819 820 Scala 821 [scala] 822 *.scala 823 -autoindent 824 -title 825 -syntax scala 826 -c_comment 827 -cpp_comment 828 -smarthome 829 -smartbacks 830 -purify 831 -single_quoted 832 -highlighter_context 833 834 Swift 835 [swift] 836 *.swift 837 -autoindent 838 -title 839 -syntax swift 840 -c_comment 841 -cpp_comment 842 -smarthome 843 -smartbacks 844 -purify 845 -single_quoted 846 -highlighter_context 847 848 D 849 [d] 850 *.d 851 -autoindent 852 -title 853 -syntax d 854 -c_comment 855 -cpp_comment 856 -smarthome 857 -smartbacks 858 -purify 859 -single_quoted 860 -highlighter_context 861 862 Docker 863 [dockerfile] 864 *Dockerfile 865 -autoindent 866 -title 867 -syntax dockerfile 868 -pound_comment 869 -highlighter_context 870 871 RPM Spec 872 [spec] 873 *.spec 874 -autoindent 875 -syntax spec 876 877 Haskell 878 [haskell] 879 *.hs 880 -autoindent 881 -smarthome 882 -smartbacks 883 -syntax haskell 884 -vhdl_comment 885 -highlighter_context 886 887 888 C-shell 889 [csh] 890 * 891 +#![ ]*[^\n ]*/csh\> 892 +#![ ]*[^\n ]*/tcsh\> 893 *.csh 894 *.login 895 *.logout 896 *.tcsh 897 *.tcshrc 898 -autoindent 899 -title 900 -syntax csh 901 -pound_comment 902 -highlighter_context 903 904 Shell 905 [sh] 906 * 907 +#![ ]*[^\n ]*/sh\> 908 +#![ ]*[^\n ]*/bash\> 909 *.sh 910 *.zsh 911 *.bash 912 *profile 913 *.bash 914 *.bashrc 915 *.bash_login 916 *.bash_logout 917 *.zshrc 918 -autoindent 919 -title 920 -syntax sh 921 -highlighter_context 922 -pound_comment 923 -text_delimiters do=done:if=elif=else=fi:case=esac 924 925 Korn shell 926 [ksh] 927 * 928 +#![ ]*[^\n ]*/ksh\> 929 *.ksh 930 -autoindent 931 -title 932 -syntax sh 933 -highlighter_context 934 -pound_comment 935 -text_delimiters do=done:if=elif=else=fi:case=esac 936 -highlighter_context 937