mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add a kind property to Gutters
This commit is contained in:
@@ -97,7 +97,7 @@ module.exports = class GutterContainer {
|
||||
|
||||
// The public interface is Gutter::decorateMarker or TextEditor::decorateMarker.
|
||||
addGutterDecoration (gutter, marker, options) {
|
||||
if (gutter.name === 'line-number') {
|
||||
if (gutter.kind === 'line-number') {
|
||||
options.type = 'line-number'
|
||||
} else {
|
||||
options.type = 'gutter'
|
||||
|
||||
Reference in New Issue
Block a user