mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Allow to call setup on already loaded modules.
This commit is contained in:
parent
facdb691d9
commit
20b822314d
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ end
|
|||
-- @param mod path to module
|
||||
local function enable_all(mod)
|
||||
local config_mod = M.get_module(mod)
|
||||
if not config_mod or config_mod.enable then return end
|
||||
if not config_mod then return end
|
||||
|
||||
for _, bufnr in pairs(api.nvim_list_bufs()) do
|
||||
enable_module(mod, bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue