Replies: 4 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Reloading (all) config is not supported, since it's simply not possible in general (there is too much state that config -- including plugins -- can change). Instead, you should write a script that only changes |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answers but I'd like to clarify that when I talk about light and dark themes, it's not just the background but the whole theme. That is, I use the onedark and catpuccin themes. So if I can't restart the whole config, I need to create a function that applies one of the two themes alternately? Could I use this kind of command in such a function? |
Beta Was this translation helpful? Give feedback.
-
J'ai créé la fonction suivante mais rien ne se passe quand je l'appelle avec :lua changeTheme()…
end ` |
Beta Was this translation helpful? Give feedback.
-
Hello,
On my pc I have configured a light mode and a dark mode and so I would also like a light mode and a dark mode on neovim. I have created a separate script that changes my config file but neovim does not apply config updates in real time, so I would like to make a keyboard shortcut in neovim to reload the config but the command so ~/.config/nvim/init.lua does not reload my config.
Thanks to all those who will take the time to help me.
Beta Was this translation helpful? Give feedback.
All reactions