DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

ref: 1f447e0f1c1773b2419faf7d0eff6a6df337a216 nvim-flake/config/plugins/tiny-code-action.nix -rw-r--r-- 562 bytes
1f447e0fJonni Liljamo feat(lsp): switch to basedpyright 4 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 = "8888f59";
        hash = "sha256-F76w/V6G2L1TzjNQJGrge/edWfsBzvp39RvlGzEUVnA=";
      };
    })
  ];

  extraConfigLua = ''
    require('tiny-code-action').setup({})
  '';

  keymaps = [
    {
      action="<cmd>lua require('tiny-code-action').code_action()<CR>";
      key = "<leader>ca";
      options.desc = "code action";
    }
  ];
}