diff options
| author | 2026-08-25 23:31:22 -0700 | |
|---|---|---|
| committer | 2026-08-25 23:31:22 -0700 | |
| commit | f63d525fe9b0c83107cbd5e96f90adee931b0569 (patch) | |
| tree | a2d1442432c1edec419d141950ba70006223f989 | |
| parent | 76c7dfd9245ce0f5888469da0d0b695c386835b3 (diff) | |
| download | cgit-pygments-wrapper-f63d525fe9b0c83107cbd5e96f90adee931b0569.tar.gz cgit-pygments-wrapper-f63d525fe9b0c83107cbd5e96f90adee931b0569.zip | |
Add setting for Phel
Phel is a Clojure-like Lisp that compiles to PHP.
| -rwxr-xr-x | cgit-pygments-wrapper | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit-pygments-wrapper b/cgit-pygments-wrapper index 5e49e8a..0c9fa0d 100755 --- a/cgit-pygments-wrapper +++ b/cgit-pygments-wrapper @@ -27,6 +27,7 @@ from pygments.lexers import ( guess_lexer_for_filename, ) from pygments.lexers.shell import BashLexer +from pygments.lexers.jvm import ClojureLexer from pygments.util import ClassNotFound, shebang_matches @@ -51,6 +52,8 @@ def modeline_matches(text, regex): CommonLispLexer.filenames.append("*.asd") CommonLispLexer.filenames.append(".stumpwmrc") +ClojureLexer.filenames.append("*.phel") + BashLexer.filenames.append("PKGBUILD") BashLexer.filenames.append("*.install") BashLexer.filenames.append(".zshrc") |
