diff --git a/README.md b/README.md index d41912d7..ba878181 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,16 @@ require("neotest").setup({ }) ``` -See `neotest.Config` for configuration options. +See `:h neotest.Config` for configuration options and `:h neotest.setup()` for the default values. + +If you are using [lua-dev.nvim](https://github.com/folke/lua-dev.nvim), you can enable type checking for neotest to get +autocomplete for the setup table. +```lua +require("lua-dev").setup({ + library = { plugins = { "neotest" }, types = true }, + ... +}) +``` ## Usage diff --git a/tests/unit/client/init_spec.lua b/tests/unit/client/init_spec.lua index adb971e8..b7659d27 100644 --- a/tests/unit/client/init_spec.lua +++ b/tests/unit/client/init_spec.lua @@ -74,7 +74,6 @@ describe("neotest client", function() } end end - A(results) return results end, }