function updateScope()

in lib/adapters/atom.js [5:15]


function updateScope (scopeText) {
  return scopeText.split(" ")
                  .map((scope) => {
                    return scope.split(".")
                                .map((scopePart) => { return `syntax--${scopePart}` })
                                .join(".")
                  })
                  .join(" .")
                  .split(", ")
                  .join(",\n")
}