From db3af0580dc2d25895696f69eb9a79e57695e78a Mon Sep 17 00:00:00 2001 From: ema Date: Sat, 5 Jul 2025 01:44:44 +0800 Subject: [PATCH] Add .gitignore syntax highlighting --- .../Syntax/Dark/GitIgnore.xshd | 58 +++++++++++++++++++ .../Syntax/Light/GitIgnore.xshd | 58 +++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GitIgnore.xshd create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GitIgnore.xshd diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GitIgnore.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GitIgnore.xshd new file mode 100644 index 0000000..8b2e196 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GitIgnore.xshd @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &|\/"',;=:- + + + ; + + + + # + + + + ! + + + + " + " + + + + [ + ] + + + = + + + diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GitIgnore.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GitIgnore.xshd new file mode 100644 index 0000000..8376d7d --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GitIgnore.xshd @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + &|\/"',;=:- + + + ; + + + + # + + + + ! + + + + " + " + + + + [ + ] + + + = + + +