1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48:01 +00:00

[neovim] Add grug-far plugin

This commit is contained in:
Daniel Carrillo 2024-06-08 16:43:07 +02:00
parent 29a97b4aa3
commit bb50eda917
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
4 changed files with 11 additions and 1 deletions

View File

@ -140,7 +140,7 @@ require("lazy").setup({
dependencies = { dependencies = {
{ "Shatur/neovim-session-manager" }, { "Shatur/neovim-session-manager" },
}, },
priority = 100, event = "VeryLazy",
}, },
{ "nvim-treesitter/nvim-treesitter", event = "BufReadPost" }, { "nvim-treesitter/nvim-treesitter", event = "BufReadPost" },
{ {
@ -164,6 +164,10 @@ require("lazy").setup({
version = "*", version = "*",
build = "cp ./*.py ~/.config/kitty/", build = "cp ./*.py ~/.config/kitty/",
}, },
{
"MagicDuck/grug-far.nvim",
event = "VeryLazy",
},
-- cmp plugins -- cmp plugins
{ {

View File

@ -0,0 +1 @@
require("grug-far").setup({})

View File

@ -23,3 +23,4 @@ require("plugins.align")
require("plugins.ufo") require("plugins.ufo")
require("plugins.bufferline") require("plugins.bufferline")
require("plugins.lualine") require("plugins.lualine")
require("plugins.grug-far")

View File

@ -34,6 +34,10 @@ vim.api.nvim_create_user_command("RunTest", function()
neotest.run.run() neotest.run.run()
end, {}) end, {})
vim.api.nvim_create_user_command("DebugTest", function()
neotest.run.run({ strategy = "dap" })
end, {})
vim.api.nvim_create_user_command("RunTestFile", function() vim.api.nvim_create_user_command("RunTestFile", function()
neotest.run.run(vim.fn.expand("%")) neotest.run.run(vim.fn.expand("%"))
end, {}) end, {})