Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ See `:h neotest` for details on neotest is designed and how to interact with it

Neotest uses [nvim-nio](https://github.com/nvim-neotest/nvim-nio) and [plenary.nvim](https://github.com/nvim-lua/plenary.nvim/).

Most adapters will also require [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter).
Most adapters will also require [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) but Neotest itself doesn't need it to work.

Neotest uses the `CursorHold` event. This uses the `updatetime`
setting which is by default very high, and lowering this can lead to excessive writes to disk.
Expand All @@ -46,7 +46,6 @@ Install with your favourite package manager alongside nvim-dap
```vim
call dein#add("nvim-lua/plenary.nvim")
call dein#add("antoinemadec/FixCursorHold.nvim")
call dein#add("nvim-treesitter/nvim-treesitter")
call dein#add("nvim-neotest/nvim-nio")
call dein#add("nvim-neotest/neotest")
```
Expand All @@ -56,7 +55,6 @@ call dein#add("nvim-neotest/neotest")
```vim
Plug 'nvim-lua/plenary.nvim'
Plug 'antoinemadec/FixCursorHold.nvim'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'nvim-neotest/nvim-nio'
Plug 'nvim-neotest/neotest'
```
Expand All @@ -70,7 +68,6 @@ use {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
"nvim-treesitter/nvim-treesitter"
}
}
```
Expand All @@ -84,7 +81,6 @@ use {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
"nvim-treesitter/nvim-treesitter"
}
}
```
Expand Down
3 changes: 0 additions & 3 deletions lua/neotest/lib/subprocess.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ function neotest.lib.subprocess.init()
{ parent_address }
)
-- Load dependencies
if pcall(require, "nvim-treesitter") then
nio.fn.rpcrequest(child_chan, "nvim_exec_lua", "require('nvim-treesitter')", {})
end
nio.fn.rpcrequest(child_chan, "nvim_exec_lua", "require('plenary')", {})
enabled = true
nio.api.nvim_create_autocmd("VimLeavePre", { callback = cleanup })
Expand Down