We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73afc72 commit 0f45862Copy full SHA for 0f45862
lua/elixir_dev/module.lua
@@ -75,10 +75,12 @@ function M.module_name_by_path(path)
75
return string.upper(a) .. b
76
end)
77
:gsub("_", "")
78
+ :gsub("Ui", "UI")
79
:gsub("Api", "API")
80
:gsub("Json", "JSON")
- :gsub(".Controllers", "")
81
- :gsub(".Views", "")
+ :gsub(".Controllers.", ".")
82
+ :gsub(".Views.", ".")
83
+ :gsub(".Live.", ".")
84
:gsub("Lib.", "")
85
:gsub("Test.", "")
86
0 commit comments