Add a kind property to Gutters

This commit is contained in:
Ash Wilson
2018-07-24 09:36:56 -04:00
parent 107ec432e5
commit dbace171df
4 changed files with 28 additions and 1 deletions

View File

@@ -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'