 Package = require 'package'
-fs = require 'fs-utils'
+fs = require 'fs'
+fsUtils = require 'fs-utils'
 plist = require 'plist'
 _ = require 'underscore'
 TextMateGrammar = require 'text-mate-grammar'


  constructor: ->
    super
    @preferencesPath = fs.join(@path, "Preferences")
    @syntaxesPath = fs.join(@path, "Syntaxes")
    @grammars = []

  load: ->


  readGrammars: ->
    grammars = []
    for grammarPath in fsUtils.list(@syntaxesPath)
      try
        grammars.push(TextMateGrammar.readFromPath(grammarPath))
      catch e
