Comments (9)
ah, progress: The issue seems to be caused by the following in my theme file:
<dict>
<key>name</key>
<string>diff.header</string>
<key>scope</key>
<string>meta.diff</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#333333</string>
<key>background</key>
<string>#aaaaaa</string>
</dict>
</dict>
from gitgutter.
@joeybaker is this issue resolved?
from gitgutter.
I'd say not. The workaround is to remove the setting above, but that is an unfortunate "fix" because the above setting does help style actual diff files. It would be great if GitGutter could DoTheRightThing™ when that setting is present.
from gitgutter.
@joeybaker hmm, I will put an entry like that into my color scheme and see if it borks it up for me as well, and see what I can figure out.
from gitgutter.
Not sure if this helps but I had to disable a bit more than the previous example
<dict>
<key>name</key>
<string>diff.header</string>
<key>scope</key>
<string>meta.diff, meta.diff.header</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#75715E</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>diff.deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#00A8C6</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>#E6DB74</string>
</dict>
</dict>
For now I'm just commenting it out for my main theme. Not sure how you would bypass it on your end.
from gitgutter.
I get this too
from gitgutter.
@stephenway your settings look exactly like mine (with just one of the color values different) and mine works fine.
@joeybaker I swapped my settings with your example, mine still worked fine.
Can you guys confirm that your installation of "GitGutter" in installed a directory named GitGutter and not Git Gutter. There was an issue before with the icons not working because the file path was incorrect.
Also when you fire up Sublime and get the borked looking icon type ctrl+` to open a console and look for an error coming from git_gutter.py
from gitgutter.
I was having this issue as well. I commented out the lines in question, and then it worked fine. Strangely though, when I un-commented them, it continued to work fine. Not sure what the deal is, but it appears to be permanently fixed for me.
from gitgutter.
@jisaacks the package is installed to GitGutter
and there are no console messages
Strangely, I followed @lankybutmacho's advice all is now well! uncommenting the lines (though I swear I did this before) leaves the correct behavior intact. Restarting ST2 doesn't make the problem re-appear, so short of marking Dec 13th off as a bad day, I'm now a happy camper, and can't reproduce the problem!
from gitgutter.
Related Issues (20)
- Inline commit log message and file types HOT 2
- GitGutter not available to install in package control HOT 4
- How do I make the icons show? HOT 2
- Gutter icon too small HOT 1
- How to disable key bindings? HOT 1
- 'NoneType' object has no attribute 'set_timeout' HOT 1
- AttributeError: 'NoneType' object has no attribute 'replace'
- I can't see any information on sublime 4100 HOT 1
- Allow formatting of line_author_time HOT 1
- ST4 - config "show_line_annotation" not working HOT 4
- What is supposed to be insert icon instead is modify icon. HOT 1
- Sublime Text 4 support, please HOT 12
- feature: command to copy commit_id from line annotation and hyperlink commit id to external git client HOT 2
- Compare against branch indicates no changes and differs from "git diff <branch>" HOT 4
- Not work for network mount wsl2 disk HOT 2
- Files in cloned gists don't show the inline git blame when `show_line_annotation` is set to `true` HOT 2
- `~` is not accepted/resolved to home in `git_binary` HOT 3
- 1.11.8 can not work in ST4 with win11. HOT 5
- GitGutter is throwing errors related to mdpopups and not working HOT 2
- Change font on popups HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitgutter.