From 3e3d7171c1b8354065adf9890c2e2a469441f300 Mon Sep 17 00:00:00 2001 From: Farouk Brown Date: Tue, 22 Apr 2025 22:36:11 +0100 Subject: [PATCH] ref: change file_types type to nullOr(listOf str) --- modules/plugins/languages/markdown.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/plugins/languages/markdown.nix b/modules/plugins/languages/markdown.nix index 21b4f4af..4563bc44 100644 --- a/modules/plugins/languages/markdown.nix +++ b/modules/plugins/languages/markdown.nix @@ -119,8 +119,8 @@ in { setupOpts = mkPluginSetupOption "render-markdown" { file_types = lib.mkOption { - type = listOf (nullOr str); - default = []; + type = nullOr (listOf str); + default = null; description = '' List of buffer filetypes to enable this plugin in.