From c803c6ede1ea6370a8476c0bc193822cd9fbf813 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sat, 7 Jun 2025 00:08:49 +0500 Subject: [PATCH] use plugin neotest --- lua/plugins/tests.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lua/plugins/tests.lua diff --git a/lua/plugins/tests.lua b/lua/plugins/tests.lua new file mode 100644 index 0000000..55a725a --- /dev/null +++ b/lua/plugins/tests.lua @@ -0,0 +1,21 @@ +return { + { + "nvim-neotest/neotest", + dependencies = { + "nvim-neotest/nvim-nio", + "nvim-lua/plenary.nvim", + "antoinemadec/FixCursorHold.nvim", + "nvim-treesitter/nvim-treesitter", + "rouge8/neotest-rust", + }, + init = function () + require("neotest").setup({ + adapters = { + require("neotest-rust") { + args = { "--no-capture" }, + } + } + }) + end + } +}