aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua55
1 files changed, 30 insertions, 25 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index b7e5071..721d875 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -20,6 +20,7 @@ local PKGS = {
{ url = "https://github.com/mg979/vim-visual-multi.git" };
{ url = "https://github.com/echasnovski/mini.nvim.git" };
{ url = "https://github.com/catppuccin/nvim.git" };
+ { url = "https://github.com/mbbill/undotree.git" };
-- Status line
{ url = "https://github.com/akinsho/bufferline.nvim.git" };
@@ -69,6 +70,9 @@ local PKGS = {
{ url = "https://github.com/jose-elias-alvarez/null-ls.nvim.git" };
{ url = "https://github.com/mfussenegger/nvim-dap.git" };
{ url = "https://github.com/rcarriga/nvim-dap-ui.git" };
+ { url = "https://github.com/antoinemadec/FixCursorHold.nvim.git" };
+ { url = "https://github.com/nvim-neotest/neotest.git" };
+ { url = "https://github.com/Issafalcon/neotest-dotnet.git" };
-- Dev container
{ url = "https://codeberg.org/esensar/nvim-dev-container.git" };
@@ -78,31 +82,6 @@ local PKGS = {
{ url = "https://github.com/seandewar/nvimesweeper.git" };
}
-local function clone_paq()
- local path = vim.fn.stdpath("data") .. "/site/pack/paqs/start/paq-nvim"
- if vim.fn.empty(vim.fn.glob(path)) > 0 then
- vim.fn.system {
- "git";
- "clone";
- "--depth=1";
- "https://github.com/savq/paq-nvim.git";
- path;
- }
- return true
- else
- return false
- end
-end
-local function bootstrap_paq()
- clone_paq()
- -- Load Paq
- vim.cmd("packadd paq-nvim")
- local paq = require("paq")
- -- Read and install packages
- paq(PKGS)
- paq.install()
-end
-
local function init_plugins()
local paq = require("paq")
paq(PKGS)
@@ -332,6 +311,32 @@ local function init_plugins()
mappings = {};
})
+ require("neotest").setup({ adapters = { require("neotest-dotnet") } })
+end
+
+local function clone_paq()
+ local path = vim.fn.stdpath("data") .. "/site/pack/paqs/start/paq-nvim"
+ if vim.fn.empty(vim.fn.glob(path)) > 0 then
+ vim.fn.system {
+ "git";
+ "clone";
+ "--depth=1";
+ "https://github.com/savq/paq-nvim.git";
+ path;
+ }
+ return true
+ else
+ return false
+ end
+end
+local function bootstrap_paq()
+ clone_paq()
+ -- Load Paq
+ vim.cmd("packadd paq-nvim")
+ local paq = require("paq")
+ -- Read and install packages
+ paq(PKGS)
+ paq.install()
end
return {