Add C syntax highlight
gitile/code.scm
19 | 19 | (define-module (gitile code) | |
20 | 20 | #:use-module (ice-9 match) | |
21 | 21 | #:use-module (syntax-highlight) | |
22 | + | #:use-module (syntax-highlight c) | |
22 | 23 | #:use-module (syntax-highlight css) | |
23 | 24 | #:use-module (syntax-highlight gitignore) | |
24 | 25 | #:use-module (syntax-highlight scheme) | |
… | |||
36 | 37 | ("m4" "m4") | |
37 | 38 | ("ac" "ac") | |
38 | 39 | ("css" "css") | |
40 | + | ("c" "c") | |
39 | 41 | (_ (match (basename path) | |
40 | 42 | ("bootstrap" "shell") | |
41 | 43 | (_ "unknown")))))) | |
… | |||
53 | 55 | ("m4" (highlight lex-m4 content)) | |
54 | 56 | ("ac" (highlight lex-autoconf content)) | |
55 | 57 | ("css" (highlight lex-css content)) | |
58 | + | ("c" (highlight lex-c content)) | |
56 | 59 | (_ (list content)))) | |
57 | 60 | ||
58 | 61 | (define (split-lines content) |