-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(code-runner): added the toggletasks.nvim plugin (#965)
* feat(code-runner): added the toggletasks.nvim plugin * Apply best practices to configuration Co-authored-by: Micah Halter <micah@mehalter.com> * Enable lazy loading Co-authored-by: Micah Halter <micah@mehalter.com> --------- Co-authored-by: Maarten van Beek <myemail> Co-authored-by: Micah Halter <micah@mehalter.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# toggletasks.nvim | ||
|
||
Neovim task runner: JSON/YAML + toggleterm.nvim + telescope.nvim. | ||
|
||
**Repository:** <https://github.com/jedrzejboczar/toggletasks.nvim> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
return { | ||
"jedrzejboczar/toggletasks.nvim", | ||
lazy = true, | ||
dependencies = { | ||
{ "nvim-lua/plenary.nvim" }, | ||
{ "akinsho/toggleterm.nvim" }, | ||
{ "nvim-telescope/telescope.nvim" }, | ||
{ | ||
"AstroNvim/astrocore", | ||
opts = { | ||
mappings = { | ||
n = { | ||
["<Leader>tss"] = { "<Cmd>Telescope toggletasks spawn<CR>", desc = "toggletasks: spawn" }, | ||
["<Leader>tsc"] = { "<Cmd>Telescope toggletasks select<CR>", desc = "toggletasks: select" }, | ||
["<Leader>tse"] = { "<Cmd>Telescope toggletasks edit<CR>", desc = "toggletasks: edit config" }, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
opts = {}, | ||
init = function() | ||
require("astrocore").on_load("telescope.nvim", function() require("telescope").load_extension "toggletasks" end) | ||
end, | ||
} |