Comments (4)
Excellent idea, have you got some git commit text I can use a reference?
from textmate-solarized.
Instead of a git COMMIT_EDITMSG file, here's an HTML file with a lot of invalid sections. I don't remember whether my git bundle is standard, but I can confirm the standard HTML bundle will add the invalid
scope on many sections of this document in HTML mode:
<!DOC_TYPE HTML INVALID "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd>
<html>
<head>
<title> A terribly invalid document</title>
</head>
<body>
<>Invalid Tag<>
&invalid entity;
<!- Invalid Comment ->
<![INVALID_CDATA[
Invalid line
]>
</body>
</html>
If an invalid color is added to the Solarized bundle, it'll color these sections to stand out as "HEY THIS IS REALLY WRONG". I tried it locally but found the 'highlight current line' option interferes with the background color of the invalid scope if you have the caret on the invalid line, so if you can figure out how to override that then it'd be perfect.
from textmate-solarized.
That's really a great idea. I strongly suggest we implement this feature!
from textmate-solarized.
This would also be totally amazing when used together with Whitespace.tmbundle in TextMate 2 -- it adds an invalid scope to trailing whitespace and mixed spaces/tabs. https://github.com/mads379/Whitespace.tmbundle
I've already added an invalid scope to my own textmate-solarized config, and it works brilliantly!
from textmate-solarized.
Related Issues (20)
- Difference in colour codes from Solarized standard list HOT 2
- Markdown HOT 6
- can not be use with textmate 2 HOT 2
- TextMate 2 and base text color HOT 11
- Looking for contributors / maintainers HOT 9
- Possible wrong colors for html in Sublime text 2 HOT 3
- Background color for dark theme are significantly lighter than Solarized screenshots HOT 7
- Figure out how to skin the gutter correctly HOT 7
- CSS looks messy HOT 7
- Please fix selection color in Solarized light HOT 7
- Use variables for color definitions HOT 1
- Canβt get current line to highlight bg HOT 3
- C function names in dark theme should not be base01
- Highlight selected text colour in dark theme HOT 11
- Dimming of highlighted text when out of focus (solarized dark) HOT 1
- don't highlight word starting with `function`
- Duplicate elements
- (orignal theme compatibility patch) Do not color arithmetical operators HOT 4
- Invisible selection color in diffs
- Find All: clicking on a search result doesn't always bring it within current window. HOT 2
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 textmate-solarized.