Skip to content

warning I do not understand #976

@ghost

Description

Describe the bug
I have a configuration file for neovim in lua with the content

M = {}

function M.setup()
  local nls = require 'nulls-ls'
  local sources = { nls.builtins.formatting.stylua }
  nls-setup { sources=sources } W: Only has 0 variables, but you set 1 values.
end

return M

I am looking into insight into what this warning means in order to determine if it is legitimate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Info NeededMore information is requiredbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions