mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
Rename cond to condition
This commit is contained in:
parent
be1c93f848
commit
76673d61c3
2 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue