From 40517d9decbde1e73831de6829cf19b62a9d6ce9 Mon Sep 17 00:00:00 2001 From: epwalsh Date: Tue, 7 Nov 2023 10:46:53 -0800 Subject: [PATCH] remove unused `util.find_markdown_files()` --- lua/obsidian/util.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lua/obsidian/util.lua b/lua/obsidian/util.lua index 57fd57e3c..1768e4c2b 100644 --- a/lua/obsidian/util.lua +++ b/lua/obsidian/util.lua @@ -62,18 +62,6 @@ util.unique = function(table) return out end ----Find all markdown files in a directory. ---- ----@param dir string|Path ----@return string[] -util.find_markdown_files = function(dir) - return scan.scan_dir(vim.fs.normalize(tostring(dir)), { - hidden = false, - add_dirs = false, - search_pattern = ".*%.md", - }) -end - ---Find all notes with the given file_name recursively in a directory. --- ---@param dir string|Path