Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Add rtorrent config syntax highlighting #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion misc/filehighlight.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
extensions=chm;css;ctl;diz;doc;docm;docx;dtd;htm;html;letter;lsm;mail;man;me;msg;nroff;odp;ods;odt;pdf;po;ppt;pptm;pptx;ps;rtf;sgml;shtml;tex;text;txt;xls;xlsm;xlsx;xml;xsd;xslt

[source]
extensions=ada;asm;awk;bash;c;caml;cc;cgi;cpp;cxx;diff;erl;h;hh;hi;hpp;hs;inc;jasm;jav;java;js;m4;mak;mjs;ml;mli;mll;mlp;mly;pas;patch;php;phps;pl;pm;prg;py;rb;sas;sh;sl;st;tcl;tk;xq
extensions=ada;asm;awk;bash;c;caml;cc;cgi;cpp;cxx;diff;erl;h;hh;hi;hpp;hs;inc;jasm;jav;java;js;m4;mak;mjs;ml;mli;mll;mlp;mly;pas;patch;php;phps;pl;pm;prg;py;rb;rc;sas;sh;sl;st;tcl;tk;xq

[media]
extensions=3gp;aac;ac3;ape;asf;avi;dts;flac;flv;it;m3u;m4a;med;mid;midi;mkv;mod;mol;mov;mp2;mp3;mp4;mpeg;mpg;mpl;ogg;ogv;s3m;umx;vob;wav;webm;wma;wmv;xm
Expand Down
1 change: 1 addition & 0 deletions misc/syntax/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ SYNTAXFILES = \
ml.syntax \
named.syntax \
nemerle.syntax \
rtorrent.syntax \
nroff.syntax \
octave.syntax \
opencl.syntax \
Expand Down
3 changes: 3 additions & 0 deletions misc/syntax/Syntax.in
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ include cabal.syntax
file ..\*\\.(?i:n)$ Nemerle\sProgram
include nemerle.syntax

file ..\*\\.(?i:rc)$ rTorrent\sConfig\sFile #.\*r[tT]orrent.\*
include rtorrent.syntax

file ..\*\\.(?i:v)$ Verilog\sDevice\sDescription
include verilog.syntax

Expand Down
Loading