m15a / flake-awesome-neovim-plugins

Nix flake of Awesome Neovim plugins
BSD 3-Clause "New" or "Revised" License
47 stars 11 forks source link

Plugins having the same name but by different authors #110

Closed m15a closed 5 months ago

m15a commented 5 months ago

For example, okuuva's auto-save.nvim is missing.

D select site, owner, repo from plugins where repo in (select repo from plugins group by repo having count(repo) > 1) order by repo;
┌────────────┬───────────────┬────────────────────┐
│    site    │     owner     │        repo        │
│  varchar   │    varchar    │      varchar       │
├────────────┼───────────────┼────────────────────┤
│ git.sr.ht  │ ~nedia        │ auto-save.nvim     │
│ github.com │ okuuva        │ auto-save.nvim     │
│ github.com │ LintaoAmons   │ bookmarks.nvim     │
│ github.com │ crusj         │ bookmarks.nvim     │
│ github.com │ tomasky       │ bookmarks.nvim     │
│ github.com │ linrongbin16  │ gitlinker.nvim     │
│ github.com │ ruifm         │ gitlinker.nvim     │
│ github.com │ 3rd           │ image.nvim         │
│ github.com │ samodostal    │ image.nvim         │
│ github.com │ gbprod        │ nord.nvim          │
│ github.com │ shaunsingh    │ nord.nvim          │
│ github.com │ AlexvZyl      │ nordic.nvim        │
│ github.com │ andersevenrud │ nordic.nvim        │
│ github.com │ Abstract-IDE  │ penvim             │
│ github.com │ shaeinst      │ penvim             │
│ github.com │ kdheepak      │ tabline.nvim       │
│ github.com │ mg979         │ tabline.nvim       │
│ github.com │ chomosuke     │ typst-preview.nvim │
│ github.com │ niuiic        │ typst-preview.nvim │
│ github.com │ dracula       │ vim                │
│ github.com │ embark-theme  │ vim                │
├────────────┴───────────────┴────────────────────┤
│ 21 rows                               3 columns │
└─────────────────────────────────────────────────┘
m15a commented 5 months ago
m15a commented 5 months ago

So how can they be renamed?

Rule

If more than one plugins have the same name, add owner name as prefix to the plugin (repo) name.

Example

dracula/vim and embark-theme/vim are renamed to dracula-vim and embark-theme-vim, respectively.