diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-07-11 22:59:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-11 20:59:06 +0000 |
| commit | 4571d57251a3e026face8d87ed9642d8b8bf84c0 (patch) | |
| tree | acf46f9e0ca2ebcf6d6dc126a4b1c291ff5c9e3b /lua/nvim-treesitter/configs.lua | |
| parent | 6ebeac9f035dd262f00466f9f9bb9641dac3f286 (diff) | |
New stylua version (#1555)
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 9d54ed8b..cb02e703 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -467,9 +467,8 @@ end -- A module should contain an attach and detach function. -- @param mod the module table function M.is_module(mod) - return type(mod) == "table" and ((type(mod.attach) == "function" and type(mod.detach) == "function") or type( - mod.module_path - ) == "string") + return type(mod) == "table" + and ((type(mod.attach) == "function" and type(mod.detach) == "function") or type(mod.module_path) == "string") end -- Initializes built-in modules and any queued modules |
