From 0d49e2c0fe57b4861135fd3c982bd65e9d682ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 24 May 2021 13:47:20 +0200 Subject: [PATCH 1/2] Add csproj files to projectionist for dotnet --- symlinks/config/nvim/lua/plugin/projectionist.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/symlinks/config/nvim/lua/plugin/projectionist.lua b/symlinks/config/nvim/lua/plugin/projectionist.lua index e813a34..b41a73b 100644 --- a/symlinks/config/nvim/lua/plugin/projectionist.lua +++ b/symlinks/config/nvim/lua/plugin/projectionist.lua @@ -170,6 +170,9 @@ local dotnet_solution_config = { type = "extension", alternate = "tests/{dirname}.Tests/Extensions/{basename}Tests.cs" }, + ["*.csproj"] = { + type = "project" + }, ["src/**/appsettings*json"] = { type = "appsettings" }, From 3f15d19a841f2338808a284a9decc16b5ea6f244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 31 May 2021 09:54:43 +0200 Subject: [PATCH 2/2] Update dotnet projectionist for root files --- symlinks/config/nvim/lua/plugin/projectionist.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symlinks/config/nvim/lua/plugin/projectionist.lua b/symlinks/config/nvim/lua/plugin/projectionist.lua index b41a73b..8847953 100644 --- a/symlinks/config/nvim/lua/plugin/projectionist.lua +++ b/symlinks/config/nvim/lua/plugin/projectionist.lua @@ -176,7 +176,7 @@ local dotnet_solution_config = { ["src/**/appsettings*json"] = { type = "appsettings" }, - ["src/**/*.cs"] = { + ["src/*.cs"] = { type = "source", alternate = "tests/{dirname}.Tests/{basename}Tests.cs", template = { @@ -214,7 +214,7 @@ local dotnet_solution_config = { type = "test", alternate = "src/{dirname}/Extensions/{basename}.cs" }, - ["tests/**/*Tests.cs"] = { + ["tests/*Tests.cs"] = { type = "test", alternate = "src/{dirname}/{basename}.cs", template = {