[vim/vim] Cannot set colorschemes defined in variables (Issue #20425)

7 views
Skip to first unread message

ubaldot

unread,
7:26 AM (8 hours ago) 7:26 AM
to vim/vim, Subscribed
ubaldot created an issue (vim/vim#20425)

Steps to reproduce

vim9script

var a = execute("colorscheme")
colorscheme desert
sleep 2
exe $"colorscheme {a}"

ends up in "E492: Not an editor command 'default'"

Expected behaviour

Colorscheme is succesfully restored.

Version of Vim

9.2 patch 1-45

Environment

Windows gvim

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20425@github.com>

Reply all
Reply to author
Forward
0 new messages