From e29d866a1732c872a84689740fed24bb66d2e438 Mon Sep 17 00:00:00 2001 From: Manohar Reddy Date: Tue, 13 May 2025 02:19:13 +0530 Subject: [PATCH] Support slnf solution filters --- lua/easy-dotnet/parsers/sln-parse.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/easy-dotnet/parsers/sln-parse.lua b/lua/easy-dotnet/parsers/sln-parse.lua index 4ad050a7..8d15ab6c 100644 --- a/lua/easy-dotnet/parsers/sln-parse.lua +++ b/lua/easy-dotnet/parsers/sln-parse.lua @@ -157,6 +157,7 @@ end function M.get_solutions() local sln_files = require("plenary.scandir").scan_dir({ "." }, { search_pattern = "%.sln$", depth = 5 }) local slnx_files = require("plenary.scandir").scan_dir({ "." }, { search_pattern = "%.slnx$", depth = 5 }) + local slnf_files = require("plenary.scandir").scan_dir({ "." }, { search_pattern = "%.slnf$", depth = 5 }) local normalized = {} for _, value in ipairs(sln_files) do @@ -165,6 +166,9 @@ function M.get_solutions() for _, value in ipairs(slnx_files) do table.insert(normalized, value) end + for _, value in ipairs(slnf_files) do + table.insert(normalized, value) + end return normalized end