[diff "lisp"] xfuncname = "^(\\(.*)$" # xfuncname = "^(\\((cl-)?def(un|macro|method).*)$" [diff "rstats"] xfuncname = "^([a-zA-z.]+ <- function.*)$" [diff "texinfo"] # from http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=.gitattributes;h=c3b2926c78c939d94358cc63d051a70d38cfea5d;hb=HEAD xfuncname = "^@node[ \t][ \t]*\\([^,][^,]*\\)" [diff "orgmode"] xfuncname = "^(\\*+.*)$" #[diff "css"] # xfuncname = "^([a-zA-Z#.@][^\\}]*)$" # xfuncname = "^(.*\\{)$" [diff "rust"] # Thanks to csabahenk xfuncname = "^[ \t]*(pub|)[ \t]*((fn|struct|enum|impl|trait|mod)[^;]*)$" [diff "exif"] binary = true # sudo apt-get install libimage-exiftool-perl textconv = exiftool [diff "pdf"] textconv = pdftotext-stdout # sudo apt-get install pdftotext # copy the following to a script pdftotext-stdout somehwere in $PATH # #!/bin/bash # pdftotext "$@" -