Skip to content

Commit

Permalink
docs(README): mention lua-dev.nvim, point to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Jul 2, 2022
1 parent b533aa4 commit 87d4765
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion tests/unit/client/init_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ describe("neotest client", function()
}
end
end
A(results)
return results
end,
}
Expand Down

0 comments on commit 87d4765

Please sign in to comment.