Skip to content

Theme reload do not work in insert mode #551

Description

@kharkwalsuraj

I use a script to generate colors from wallpaper and save them to lua/themes/ and execute

for addr in "$XDG_RUNTIME_DIR"/nvim.*; do
    [[ -S "$addr" ]] || continue
    nvim --server "$addr" --remote-send ':lua require("nvchad.utils").reload("themes") <cr>'
done

and it works fine but , the issue is that if I am on insert mode it doesn't work, also the lua require("nvchad.utils").reload("themes") <cr> line is inserted in editing buffer on nvim .So is their any better way then this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions