diff --git a/gtksourceview/gtksourcecontextengine.c b/gtksourceview/gtksourcecontextengine.c
index 22e7787..551386f 100644
--- a/gtksourceview/gtksourcecontextengine.c
+++ b/gtksourceview/gtksourcecontextengine.c
@@ -686,7 +686,7 @@ create_tag (GtkSourceContextEngine *ce,
 
 	g_assert (style_id != NULL);
 
-	new_tag = gtk_text_buffer_create_tag (ce->priv->buffer, NULL, NULL);
+	new_tag = gtk_text_buffer_create_tag (ce->priv->buffer, style_id, NULL);
 	/* It must have priority lower than user tags but still
 	 * higher than highlighting tags created before */
 	gtk_text_tag_set_priority (new_tag, ce->priv->n_tags);
