From 1350f82d9ffc24c0aabdfcff73857c5a5497c44d Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 14 Oct 2024 11:24:14 +0200 Subject: [PATCH] nix: use `scope` instead of `className` for `ATTRS` --- src/languages/nix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/nix.js b/src/languages/nix.js index 0c19afaddd..67baaae216 100644 --- a/src/languages/nix.js +++ b/src/languages/nix.js @@ -197,7 +197,7 @@ export default function(hljs) { relevance: 0, contains: [ { - className: 'attr', + scope: 'attr', begin: /\S+/, relevance: 0.2 },