
module.exports =
class EditAPI
  constructor: (@api) ->

  format: (file, offset, length) =>
    @api.perform 'edit.format',
      file: file
      selectionOffset: offset
      selectionLength: length


module.exports =
class EditAPI
  constructor: (@api) ->

  format: (file, offset, length) =>
    @api.perform 'edit.format',
      file: file
      selectionOffset: offset
      selectionLength: length
      lineLength: atom.config.get('editor.preferredLineLength')

Send the preferred line length to the analysis_server during formatting
Send the preferred line length to the analysis_server during formatting

The parameter is "lineLength" according to the new API

Closes #44
