add: auto switch to conform if use default config language

This commit is contained in:
asep.komarudin 2024-06-29 14:26:46 +07:00
parent 22202bc11b
commit fbd69d94ec
7 changed files with 295 additions and 258 deletions

View file

@ -0,0 +1,23 @@
local M={}
M.cheack=function ()
local sts= false
if pcode.active_javascript_config.active or false then
sts=true
elseif pcode.active_rust_config or false then
sts=true
elseif pcode.active_php_config or false then
sts=true
elseif pcode.active_golang_config or false then
sts=true
elseif pcode.active_python_config or false then
sts=true
elseif pcode.active_cpp_config or false then
sts=true
elseif pcode.active_java_config.active or false then
sts=true
end
return sts
end
return M