DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

f7dc3aaae22311a97d2f618cec2f564829e33af0 — Jonni Liljamo a month ago d5922e4
feat(tiny-code-action): init
2 files changed, 26 insertions(+), 0 deletions(-)

M config/plugins/default.nix
A config/plugins/tiny-code-action.nix
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";
    }
  ];
}