-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## Git Gutter | ||
|
||
A sublime text 2 plugin to show an icon in the gutter area indicating whether a line has been inserted, modified or deleted. | ||
|
||
### Screenshot: | ||
|
||
![screenshot](https://raw.github.com/jisaacks/GitGutter/master/screenshot.png) | ||
|
||
### Settings | ||
|
||
By default it is set to live mode, which runs everytime the file is modified. If you experience performance issues you can set it to only run on save by adding an entry to your **Preferences.sublime-text** file, just set: | ||
|
||
```json | ||
"git_gutter_live_mode": false | ||
``` | ||
|
||
The colors come from your theme file. If your theme file does not define the appropriate colors (or you want to edit them) add an entry to your theme file that looks like this: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
```xml | ||
<dict> | ||
<key>name</key> | ||
<string>diff.deleted</string> | ||
<key>scope</key> | ||
<string>markup.deleted</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</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>foreground</key> | ||
<string>#A6E22E</string> | ||
</dict> | ||
</dict> | ||
<dict> | ||
<key>name</key> | ||
<string>diff.changed</string> | ||
<key>scope</key> | ||
<string>markup.changed</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>foreground</key> | ||
<string>#967EFB</string> | ||
</dict> | ||
</dict> | ||
``` | ||
|
||
|
The colors actually come from your color scheme (.tmTheme) file, not your theme (.sublime-theme) file. Suggest you correct this to avoid confusion.