diff --git a/src/language/CSSUtils.js b/src/language/CSSUtils.js
index <HASH>..<HASH> 100644
--- a/src/language/CSSUtils.js
+++ b/src/language/CSSUtils.js
@@ -156,7 +156,7 @@ define(function (require, exports, module) {
         if (!state || !state.context) {
             return false;
         }
-        return (state.context.type === "at");
+        return (state.context.type === "atBlock_parens");
     }
 
     /**
In CSSUtils, detect when in an @ rule correctly