mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
Live reload Vim instances!
Add the necessary support for the new script that handles the live
reloading of theme changes to Vim.
This has been the only major problem in my "environment theme switch":
all running instances of `vim` had to be closed and opened again to
inherit the new colours, though only when transitioning from a light to
a dark theme (and vice versa).
For the new script see commit: 8ce68a6512.
This commit is contained in:
parent
8ce68a6512
commit
f6ea243161
|
|
@ -685,9 +685,10 @@ update_environment_theme() {
|
|||
# first modify running GTK because we see them, then edit the files
|
||||
modify_running_gtk_and_flatpak
|
||||
modify_gtk
|
||||
modify_vim
|
||||
own_script_update_tmux_running_vim
|
||||
modify_gtksourceview3
|
||||
modify_gtksourceview4
|
||||
modify_vim
|
||||
# the shell is reloaded first, so that others can take the new
|
||||
# variables it exposes
|
||||
# call external script to pass new colours to running terminals
|
||||
|
|
@ -723,9 +724,10 @@ update_environment_theme_de() {
|
|||
;;
|
||||
esac
|
||||
modify_gtk
|
||||
modify_vim
|
||||
own_script_update_tmux_running_vim
|
||||
modify_gtksourceview3
|
||||
modify_gtksourceview4
|
||||
modify_vim
|
||||
# the shell is reloaded first, so that others can take the new
|
||||
# variables it exposes
|
||||
modify_shell_theme
|
||||
|
|
|
|||
Loading…
Reference in a new issue