diff options
Diffstat (limited to 'lua/core')
-rw-r--r-- | lua/core/autopairs.lua | 2 | ||||
-rw-r--r-- | lua/core/formatter.lua | 2 | ||||
-rw-r--r-- | lua/core/linter.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lua/core/autopairs.lua b/lua/core/autopairs.lua index b8dad5f3..f0111db6 100644 --- a/lua/core/autopairs.lua +++ b/lua/core/autopairs.lua @@ -1,7 +1,7 @@ -- if not package.loaded['nvim-autopairs'] then -- return -- end -local status_ok, autopairs = pcall(require, "nvim-autopairs") +local status_ok, _ = pcall(require, "nvim-autopairs") if not status_ok then return end diff --git a/lua/core/formatter.lua b/lua/core/formatter.lua index 05de74ab..c8f1baeb 100644 --- a/lua/core/formatter.lua +++ b/lua/core/formatter.lua @@ -48,7 +48,7 @@ end -- end -- end -- end -local status_ok, formatter = pcall(require, "formatter") +local status_ok, _ = pcall(require, "formatter") if not status_ok then return end diff --git a/lua/core/linter.lua b/lua/core/linter.lua index 9c6649a8..676b0cf7 100644 --- a/lua/core/linter.lua +++ b/lua/core/linter.lua @@ -19,7 +19,7 @@ M.setup = function() end end -local status_ok, linter = pcall(require, "lint") +local status_ok, _ = pcall(require, "lint") if not status_ok then return end |