DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 5fc3e3c83ba2f044334653ba01aabbf9054d08e9 nvim-flake/config/plugins/tiny-code-action.nix -rw-r--r-- 562 bytes
5fc3e3c8Jonni Liljamo feat(lsp): pylsp 12 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
    }
  ];
}