Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting Unused local 'opts' warning. Can I ignore it? #5

Open
karmatikde opened this issue Dec 7, 2023 · 1 comment
Open

I'm getting Unused local 'opts' warning. Can I ignore it? #5

karmatikde opened this issue Dec 7, 2023 · 1 comment

Comments

@karmatikde
Copy link

karmatikde commented Dec 7, 2023

{
"mfussenegger/nvim-dap",
config = function(, opts) <--------------------------------- Unused local 'opts'
require("core.utils").load_mappings("dap")
end
},
{
"mfussenegger/nvim-dap-python",
ft = "python",
dependencies = {
"mfussenegger/nvim-dap",
"rcarriga/nvim-dap-ui",
},
config = function(
, opts) <---------------------------- Unused local 'opts'
local path = "~/.local/share/nvim/mason/packages/debugpy/venv/bin/python"
require("dap-python").setup(path)
require("core.utils").load_mappings("dap_python")
end,
},
{
"nvimtools/non-ls.nvim",
ft = {"python"},
opts = function()
return require "custom.configs.null-ls"
end,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"black",
"debugpy",
"mypy",
"ruff",
"pyright",
},
},
},`

@elliottminns
Copy link
Member

You can ignore, or also just use an _opts to silence it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants