diff options
author | Luc Sinet <[email protected]> | 2021-07-19 18:12:59 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-19 20:42:59 +0430 |
commit | bdd6e0cf3738911ebe92b3ed7dcb52d84b7efa98 (patch) | |
tree | 79d73d46e3bdfe3249653e71a27e0931714416ba /lua/core | |
parent | e82fc442d06cca13d4b13b3aea367a4217628ca3 (diff) |
Fix reports from luacheck (#1031)
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 |