Rename cond to condition

This commit is contained in:
patrick96 2021-11-13 18:27:01 +01:00 committed by Stephan Seitz
parent be1c93f848
commit 76673d61c3
2 changed files with 6 additions and 5 deletions

View file

@ -351,7 +351,7 @@ function M.is_enabled(mod, lang, bufnr)
return false
end
if module_config.cond and not module_config.cond(lang, bufnr) then
if module_config.condition and not module_config.condition(lang, bufnr) then
return false
end