Commit 5229bc4
authored
fix: move plenary import into function (#1162)
Commit cf02033 broke test detection in Neotest. When another plugin
calls `require("plenary.filetype")` before Neotest does, it seems that
Neotest cannot successfully complete the call to
`require("neotest.lib").treesitter.parse_positions` and does not find
any tests.
This seem like a bug in either plenary or Neotest and this commit is
merely a workaround.
Related issues:
- nvim-neotest/neotest#502
- #10991 parent 16d897f commit 5229bc4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| |||
0 commit comments