M config/plugins/default.nix => config/plugins/default.nix +1 -0
@@ 9,6 9,7 @@
./oil.nix
./precognition.nix
./telescope.nix
+ ./tiny-code-action.nix
./toggleterm.nix
./treesitter.nix
./which-key.nix
A config/plugins/tiny-code-action.nix => config/plugins/tiny-code-action.nix +25 -0
@@ 0,0 1,25 @@
+{pkgs, ...}: {
+ extraPlugins = [
+ (pkgs.vimUtils.buildVimPlugin {
+ name = "tiny-code-action";
+ src = pkgs.fetchFromGitHub {
+ owner = "rachartier";
+ repo = "tiny-code-action.nvim";
+ rev = "a332d5d";
+ hash = "sha256-k4X/94mPeox9IpU95x0XRkxWUzpWRxrWOrNibIZcbcA=";
+ };
+ })
+ ];
+
+ extraConfigLua = ''
+ require('tiny-code-action').setup({})
+ '';
+
+ keymaps = [
+ {
+ action="<cmd>lua require('tiny-code-action').code_action()<CR>";
+ key = "<leader>ca";
+ options.desc = "code action";
+ }
+ ];
+}