From 4571d57251a3e026face8d87ed9642d8b8bf84c0 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 11 Jul 2021 22:59:06 +0200 Subject: New stylua version (#1555) --- lua/nvim-treesitter/configs.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lua/nvim-treesitter/configs.lua') 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 -- cgit v1.2.3