'use babel';

import Controller from './controller.js';

export default {
  config: {
    grammars: {
      type   : 'array',
      default: ['source.gfm'],
      items  : {
        type: 'string'
      }
    },
    minimumContentWidth: {
      type   : 'integer',
      default: 3,
      minimum: 3
    },
    useEastAsianWidth: {
      type       : 'boolean',
      default    : false,
      description: 'Compute character width'
        + ' based on the Unicode East Asian Width specification'
    },
    smartCursor: {
      type       : 'boolean',
      default    : false,
      description: '(experimental) Enable smart cursor movement'
    }
  },

  controler: null,

  activate() {
    this.controller = new Controller();
  },

  deactivate() {
    this.controller.destroy();
  },

  serialize() {
  }
};

'use babel';

import Controller from './controller.js';

export default {
  config: {
    grammars: {
      type   : 'array',
      default: ['source.gfm', 'text.md'],
      items  : {
        type: 'string'
      }
    },
    minimumContentWidth: {
      type   : 'integer',
      default: 3,
      minimum: 3
    },
    useEastAsianWidth: {
      type       : 'boolean',
      default    : false,
      description: 'Compute character width'
        + ' based on the Unicode East Asian Width specification'
    },
    smartCursor: {
      type       : 'boolean',
      default    : false,
      description: '(experimental) Enable smart cursor movement'
    }
  },

  controler: null,

  activate() {
    this.controller = new Controller();
  },

  deactivate() {
    this.controller.destroy();
  },

  serialize() {
  }
};

Add `text.md` to the default grammars
Add `text.md` to the default grammars
