Fix projectionist heuristics for lua vim plugins

main
Ensar Sarajčić 2022-05-07 16:17:19 +02:00
parent 0337ac7067
commit 83e64d1950
1 changed files with 6 additions and 2 deletions

View File

@ -272,9 +272,13 @@ local lua_vim_plugin_config = {
},
["lua/*.lua"] = {
type = "source",
alternate = "test/{}.lua",
alternate = "tests/{}.lua",
template = {
'describe("{}:", function()',
"end)",
},
},
["test/*.lua"] = {
["tests/*.lua"] = {
type = "test",
alternate = "lua/{}.lua",
},