diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2020-09-10 17:57:19 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-11 08:45:50 +0200 |
| commit | 20b822314dee88be89bd9da1b3f426bd7096d0a0 (patch) | |
| tree | c6c262ab58742c2c800f2dbdb315b8a6e1f8256d | |
| parent | facdb691d9d7cfd3caaf2b87971266641cbfadf6 (diff) | |
Allow to call setup on already loaded modules.
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index de506ce4..bb3a98bd 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -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) |
