           dismissable: true
           buttons: [
             {
-              text: 'Open Settings'
+              text: "Open Settings"
               onDidClick: ->
                 atom.workspace.open("atom://config/packages/#{meta.name}")
                 notification.dismiss()

    script = editor.getPath()
    scope  = editor.getGrammar().scopeName

    if script? and scope.startsWith 'source.nsis.bridle'
      editor.save() if editor.isModified()

      bridleJar = atom.config.get('language-bridlensis.pathToJar')

      if not bridleJar
        notification = atom.notifications.addWarning(


      defaultArguments = ["-jar", bridleJar]

      if atom.config.get("language-bridlensis.customArguments").length > 0
        customArguments = atom.config.get("language-bridlensis.customArguments").trim().split(" ")
      else
        customArguments = []

      if atom.config.get("language-bridlensis.nsisHome").length > 0 and customArguments.indexOf("-n") == -1
        customArguments.push("-n")
        customArguments.push(atom.config.get("language-bridlensis.nsisHome"))

      customArguments.push(script)
      args = defaultArguments.concat(customArguments)
