..
This commit is contained in:
@@ -23,6 +23,13 @@ local plugins = {
|
||||
},
|
||||
|
||||
-- override plugin configs
|
||||
{
|
||||
"NvChad/nvterm",
|
||||
opts = function()
|
||||
return require "custom.configs.nvterm"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = vim.tbl_deep_extend("force", overrides.mason, {
|
||||
@@ -143,11 +150,66 @@ local plugins = {
|
||||
enabled = false,
|
||||
},
|
||||
|
||||
{ "rouge8/neotest-rust" },
|
||||
{ "jfpedroza/neotest-elixir" },
|
||||
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
enabled = false,
|
||||
"nvim-neotest/neotest",
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"antoinemadec/FixCursorHold.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require("neotest").setup {
|
||||
adapters = {
|
||||
require "neotest-rust",
|
||||
require "neotest-elixir" {
|
||||
-- -- The Mix task to use to run the tests
|
||||
-- -- Can be a function to return a dynamic value.
|
||||
-- -- Default: "test"
|
||||
-- mix_task = { "my_custom_task" },
|
||||
-- -- Other formatters to pass to the test command as the formatters are overridden
|
||||
-- -- Can be a function to return a dynamic value.
|
||||
-- -- Default: {"ExUnit.CLIFormatter"}
|
||||
-- extra_formatters = { "ExUnit.CLIFormatter", "ExUnitNotifier" },
|
||||
-- -- Extra test block identifiers
|
||||
-- -- Can be a function to return a dynamic value.
|
||||
-- -- Block identifiers "test", "feature" and "property" are always supported by default.
|
||||
-- -- Default: {}
|
||||
-- extra_block_identifiers = { "test_with_mock" },
|
||||
-- -- Extra arguments to pass to mix test
|
||||
-- -- Can be a function that receives the position, to return a dynamic value
|
||||
-- -- Default: {}
|
||||
-- args = { "--trace" },
|
||||
-- -- Command wrapper
|
||||
-- -- Must be a function that receives the mix command as a table, to return a dynamic value
|
||||
-- -- Default: function(cmd) return cmd end
|
||||
-- post_process_command = function(cmd)
|
||||
-- return vim.tbl_flatten { { "env", "FOO=bar" }, cmd }
|
||||
-- end,
|
||||
-- -- Delays writes so that results are updated at most every given milliseconds
|
||||
-- -- Decreasing this number improves snappiness at the cost of performance
|
||||
-- -- Can be a function to return a dynamic value.
|
||||
-- -- Default: 1000
|
||||
-- write_delay = 1000,
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
||||
-- {
|
||||
-- "rouge8/neotest-rust",
|
||||
-- config = function() end,
|
||||
-- },
|
||||
--
|
||||
-- {
|
||||
-- "jfpedroza/neotest-elixir",
|
||||
-- config = function() end,
|
||||
-- },
|
||||
|
||||
-- To make a plugin not be loaded
|
||||
-- {
|
||||
-- "NvChad/nvim-colorizer.lua",
|
||||
|
||||
Reference in New Issue
Block a user