Comments (6)
@simurai Exactly! Thanks so much.
I use .gutter-container
and it works.
then I try to disable the linter, .gutter
also works!
from one-dark-syntax.
Personally I like the look, and I have to believe they intend for it to look that way. It's easy enough to just add something like the following to your own stylesheet.less
for a visual cue:
.gutter {
border-right: 1px solid rgba(255,255,255,0.1);
}
Just my $0.02
from one-dark-syntax.
I'm pretty certain this is intentional also. If it is intentional and since a workaround is relatively simple, I'm inclined to mark this wontfix
. I'll wait until @simurai lets us know his thoughts though.
from one-dark-syntax.
Yes, this is intentional. Personally, I have the
- Show Indent Guide
enabled in the settings. But if not, then yeah, it's kinda hard to tell if a line is indented or not.
In your styles.less
file, you could:
Border
Add a border (like @mmcbride1007 suggested):
@import "syntax-variables";
atom-text-editor::shadow .gutter {
border-right: 1px solid @syntax-indent-guide-color;
}
Background
Add a background color. Maybe
@import "syntax-variables";
atom-text-editor::shadow .gutter {
background-color: lighten(@syntax-background-color, 5%);
}
from one-dark-syntax.
@simurai I tried the solution, but I got two lines after the line number like the pic, could you help me please?
from one-dark-syntax.
@zwpaper You probably have a package installed that adds a second gutter, like linter
? Using the .gutter-container
instead should only show one line:
atom-text-editor::shadow .gutter-container {
border-right: 1px solid rgba(255, 255, 255, 0.1);
}
from one-dark-syntax.
Related Issues (20)
- PHP highlighting messed up in Atom Beta (1.21.0) HOT 8
- Wrong curly bracket color HOT 5
- Make background pure black, and/or add config option for background color HOT 1
- Code background color is not same with background color HOT 2
- Comments move text below HOT 6
- Syntax highlight issue HOT 4
- "DISTINCT" in SQL is not highlighted HOT 2
- improve json highlighting HOT 4
- and, or, ... keywords not highlighted HOT 1
- 1.6.0 breaks syntax highlighting on one light/dark HOT 4
- Syntax highlight broken after update HOT 10
- Latest Atom Breaks One Dark Syntax HOT 2
- Markdown Syntax coloring (links vs. emphasis) HOT 1
- Question about custom syntax HOT 3
- <unknown> is deprecated. HOT 1
- PHP syntax highlighting issue inside HTML quotes HOT 1
- Improve LESS Highlighting
- Syntax color is mismatch for this PHP source (1.18.0) HOT 1
- How to remove italics from comments HOT 1
- Comment documentation highlighting is incorrect for class properties. HOT 3
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 one-dark-syntax.