Skip to content

Commit

Permalink
patch Monokai Extended theme for better Syslog error highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Hall committed Feb 9, 2025
1 parent 40ca284 commit d467cd1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
19 changes: 17 additions & 2 deletions assets/patches/Monokai-Extended.tmTheme.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,26 @@ index 9c2aa3e..180cbbf 100644
<string>Invalid</string>
<key>scope</key>
- <string>invalid</string>
+ <string>invalid, markup.error</string>
+ <string>invalid, meta.annotation.error-line</string>
<key>settings</key>
<dict>
<key>background</key>
@@ -1042,7 +1042,7 @@
@@ -1038,11 +1038,22 @@
<string>#f8f8f0</string>
</dict>
</dict>
+ <dict>
+ <key>name</key>
+ <string>Error</string>
+ <key>scope</key>
+ <string>markup.error</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#dd2020</string>
+ </dict>
+ </dict>
<dict>
<key>name</key>
<string>Invalid deprecated</string>
<key>scope</key>
Expand Down
1 change: 1 addition & 0 deletions tests/syntax-tests/highlighted/Syslog/example.syslog
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
Aug 11 21:31:08 ::1 nginx: 2021/08/11 21:31:08 [debug] 760831#760831: epoll add event: fd:6 op:1 ev:10000001
Aug 11 21:40:31 hostname-here scop hello
Aug 16 21:38:21 hostname-here systemd[1]: Finished Cleanup of Temporary Directories.
2025-02-08 20:52:11.039 - setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version

0 comments on commit d467cd1

Please sign in to comment.