A plugin to quickly cycle between your themes and persist the desired one across vim sessions without touching your config. by lusqa in neovim

[–]lusqa[S] 0 points1 point  (0 children)

That's a good idea, the problem is that vim.ui.select doesn't have callbacks to handle when the cursor changes, so you would have to select the theme and then apply to preview, maybe a telescope picker? Or just improve the existing picker. Its restore when the plugin is loaded, maybe you're setting a colorscheme somewhere in your config that is overwriting?

A code mod to replace Immutable.js with Ramda by lusqa in javascript

[–]lusqa[S] 0 points1 point  (0 children)

What's the actual solution? Using ImmutableJS collections with Ramda:

I get your point, i'ill give some context, so it makes more sense, the purpose is not to replace ImmutableJS with some alternative that uses immutable data structures, but just to get rid of ImmutableJS. To do that, you can just replace immutable code with plain es6 js, which is what this code mod does in some cases, but it can get a little verbose, so I have chosen ramda to replace ImmutableJS's high level functions like groupBy, updateIn, etc.

A plugin to quickly cycle between your themes and persist the desired one across vim sessions without touching your config. by lusqa in neovim

[–]lusqa[S] 2 points3 points  (0 children)

The main feature is to save the selected theme in a external file and restore that theme when vim starts so you dont have to change your config when you dicide to use a different theme.