Skip to content

Commit

Permalink
Add basic diff highlighting (#10)
Browse files Browse the repository at this point in the history
Just ranges, insertions and deletions
  • Loading branch information
dsl101 authored and dcasella committed Jan 28, 2020
1 parent 8e1759e commit 2a37be6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions themes/Monokai++.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,42 @@
</dict>
</dict>

<!-- diff -->
<dict>
<key>name</key>
<string>Diff deleted</string>
<key>scope</key>
<string>markup.deleted.diff</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#f92672</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Diff inserted</string>
<key>scope</key>
<string>markup.inserted.diff</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2be98a</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Diff range</string>
<key>scope</key>
<string>meta.diff.range.unified</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#ae81ff</string>
</dict>
</dict>

<!-- GitGutter -->
<dict>
<key>name</key>
Expand Down

0 comments on commit 2a37be6

Please sign in to comment.