 
 class EWGHamlRenderer
   constructor: (@config) ->
-    extend(true, defaultCompilerConfig,
+    extend(true, @config.compiler,
+                 defaultCompilerConfig,
                  @config.compiler)
 
     @layout  = new EWGHamlLayout(@config)

gutil   = require 'gulp-util'
extend  = require 'extend'
log     = require 'ewg-logging'
htmlmin = require 'htmlmin'

PluginError    = gutil.PluginError
EWGHamlContext = require './context'

    @layout.fromContent content, (layout) =>
      output = @renderFileSync layout, context
      output = @resolveContentFor(output, context)
      output = minify(output, @config.minimize) if @config.minimize.enabled

      file.path     = @replaceExtension file.path
      file.contents = new Buffer(output)
