2 files changed,
17 insertions(+),
0 deletions(-)
jump to
| M | lua/fk/plugin.lua |
| M | lua/fk/plugin/whichkey.lua |
M
lua/fk/plugin.lua
@@ -85,6 +85,13 @@ "rafamadriz/friendly-snippets",
}, } + -- Tests + use { + "rcarriga/vim-ultest", + requires = { { "vim-test/vim-test", after = "vim-ultest" } }, + cmd = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestStopNearest", "UltestOutput", "UltestSummary" }, + } + -- Syntax use { "nvim-treesitter/nvim-treesitter",
M
lua/fk/plugin/whichkey.lua
@@ -79,6 +79,16 @@ j = { "<cmd>lua vim.diagnostic.goto_next()<cr>", "Next Diagnostic" },
q = { "<cmd>lua vim.diagnostic.setloclist()<cr>", "Quickfix" }, k = { "<cmd>lua vim.diagnostic.goto_prev()<cr>", "Prev Diagnostic" }, }, + t = { + name = "Tests", + t = { "<cmd>Ultest<cr>", "Run all" }, + s = { "<cmd>UltestStop<cr>", "Stop all" }, + c = { "<cmd>UltestClear<cr>", "Clean results" }, + n = { "<cmd>UltestNearest<cr>", "Run nearest" }, + N = { "<cmd>UltestStopNearest<cr>", "Stop nearest" }, + o = { "<cmd>UltestOutput<cr>", "Show output" }, + S = { "<cmd>UltestSummary<cr>", "Summary win" }, + }, g = { name = "git", g = { "<cmd>Neogit<cr>", "Neogit" },