Add dotnet projectionist base config

pull/1/head
Ensar Sarajčić 2021-04-08 16:50:20 +02:00
parent 2efdb75976
commit 594d500d1d
1 changed files with 23 additions and 1 deletions

View File

@ -146,7 +146,29 @@ local python_config = {
} }
} }
local dotnet_config = {} local dotnet_config = {
["*"] = {
start = "dotnet run",
shell = "dotnet fsi"
},
["src/Controllers/*.cs"] = {
type = "controller"
},
["src/Models/*.cs"] = {
type = "model"
},
["src/Views/*.cshtml"] = {
type = "view"
},
["src/*.cs"] = {
type = "source",
alternate = "tests/{}Tests.cs"
},
["tests/*Tests.cs"] = {
type = "test",
alternate = "src/{}.cs"
}
}
local vim_plugin_config = { local vim_plugin_config = {
["doc/*.txt"] = { ["doc/*.txt"] = {