 
 fs          = require('fs')
 path        = require('path')
+
 CSSBeautify = require('cssbeautify')
 CSSComb     = require('csscomb')
 

        sorted = csscomb.processString(selected, {
          syntax: syntax
        })
        if isCSS
          sorted = CSSBeautify(sorted, {
            indent: '  '
          })
        editor.setTextInBufferRange(editor.getSelectedBufferRange(), sorted)
      catch e
        console.log(e)

    grammarName = editor.getGrammar().name.toLowerCase()
    isCSS  = grammarName is 'css'
    isScss = grammarName is 'scss'
    isSass = grammarName is 'sass'
    isLess = grammarName is 'less'
    isHTML = grammarName is 'html'

    syntax = 'css'
    if isCSS  then syntax = 'css'
    if isScss then syntax = 'scss'
    if isSass then syntax = 'sass'
    if isLess then syntax = 'less'
    if isHTML then syntax = 'css'

