We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all!
Maybe someone knows how to add this awesome plugin to the Neotest config inside Astrovim?
I have tried to do it inside "astrocommunity/test/neotest/init.lua" config file listed below. But it doesn't work.
return { { "nvim-neotest/neotest", ft = { "go", "rust", "python" }, dependencies = { "nvim-neotest/neotest-go", "nvim-neotest/neotest-python", "rouge8/neotest-rust", { "folke/neodev.nvim", opts = function(_, opts) opts.library = opts.library or {} if opts.library.plugins ~= true then opts.library.plugins = require("astronvim.utils").list_insert_unique(opts.library.plugins, "neotest") end opts.library.types = true end, }, }, opts = function() return { -- your neotest config here adapters = { require "neotest-go", require "neotest-rust", require "neotest-python", }, } end, config = function(_, opts) -- get neotest namespace (api call creates or returns namespace) local neotest_ns = vim.api.nvim_create_namespace "neotest" vim.diagnostic.config({ virtual_text = { format = function(diagnostic) local message = diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "") return message end, }, }, neotest_ns) require("neotest").setup(opts) end, }, { "catppuccin/nvim", optional = true, opts = { integrations = { neotest = true } }, }, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all!
Maybe someone knows how to add this awesome plugin to the Neotest config inside Astrovim?
I have tried to do it inside "astrocommunity/test/neotest/init.lua" config file listed below.
But it doesn't work.
The text was updated successfully, but these errors were encountered: