disrupted

joined 1 year ago
[–] disrupted 1 points 1 month ago

that's a great idea!

8
submitted 1 month ago* (last edited 1 month ago) by disrupted to c/[email protected]
 

I need some advice how to handle project-specific plugin configuration for Neovim. My paid software gig involves work for several different client projects which are basically structured like this:

~/work-clientA
  - repoA1
  - repoA2
~/work-clientB
  - repoB1
  - repoB2
~/work-clientC
...

I manage the different environments using direnv.

What I struggle with is overriding/extending the config for Neovim plugins for each environment.

let's say for example clientA uses a self-hosted GitLab instance which requires me to override the lazy.nvim config for some Git-related plugins. How could I achieve this?

I looked into exrc. afaict this would require duplicating any client-specific configuration for each new repository. Instead what I would like is something like ~/work-clientA/init.lua which would then be sourced automatically for each project (repo) inside work-clientA.

[–] disrupted 81 points 3 months ago (16 children)

kinda makes you think. billionaires should not exist.

[–] disrupted 22 points 3 months ago (3 children)

that is obviously just an analogy for the huge time span. $5000/day meaning at the current value

[–] disrupted 11 points 3 months ago

gut so, typisch realitätsferne Vorstellung der CDU von Verkehrswende. Magnetschwebebahn und Flugtaxi anstatt die bestehende Gleis- und Fahrradinfrastruktur zu fördern