From 673c564e09c7dc7fb654996bad541c6dd89c629e Mon Sep 17 00:00:00 2001 From: Merlin Volkmer <49447733+Meerschwein@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:12:55 +0100 Subject: [PATCH] language_md: add nix code block highlighting (#1323) --- data/plugins/language_md.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/plugins/language_md.lua b/data/plugins/language_md.lua index 1046657d..4b6cf0c2 100644 --- a/data/plugins/language_md.lua +++ b/data/plugins/language_md.lua @@ -147,6 +147,7 @@ syntax.add { { pattern = { "```go", "```" }, type = "string", syntax = ".go" }, { pattern = { "```lobster", "```" }, type = "string", syntax = ".lobster" }, { pattern = { "```liquid", "```" }, type = "string", syntax = ".liquid" }, + { pattern = { "```nix", "```" }, type = "string", syntax = ".nix" }, { pattern = { "```", "```" }, type = "string" }, { pattern = { "``", "``" }, type = "string" }, { pattern = { "%f[\\`]%`[%S]", "`" }, type = "string" },