mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-07-06 16:12:33 +02:00
Add Sttr.nvim
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -55,6 +55,13 @@
|
|||||||
action = "<cmd>lua Snacks.lazygit()<cr>";
|
action = "<cmd>lua Snacks.lazygit()<cr>";
|
||||||
desc = "Lazygit";
|
desc = "Lazygit";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
key = "<leader>ts";
|
||||||
|
mode = "v";
|
||||||
|
silent = true;
|
||||||
|
action = ":<C-u>SttrTransform<CR>";
|
||||||
|
desc = "String Transform";
|
||||||
|
}
|
||||||
|
|
||||||
# UI
|
# UI
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,5 +33,22 @@
|
|||||||
visuals = {
|
visuals = {
|
||||||
rainbow-delimiters.enable = true;
|
rainbow-delimiters.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraPlugins = {
|
||||||
|
sttr-nvim = {
|
||||||
|
package = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "sttr-nvim";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "anotherhadi";
|
||||||
|
repo = "sttr.nvim";
|
||||||
|
rev = "b41f2f51372222e23efbe5df9d72391cd933d4d1";
|
||||||
|
hash = "sha256-JPv0NNNUUNPNJM5LHYjcmTvilbOKB3OxI2Q6wxVbTks=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
setup = ''
|
||||||
|
require("sttr").setup()
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user