tylerreckart / gondolin

A delightfully-opinionated Elvish configuration
5 stars 2 forks source link

Issue trying to use theme #2

Open aka-mj opened 4 years ago

aka-mj commented 4 years ago

Tried to use this but got the error below. Any thing that I did wrong?

elvish --buildinfo
Version: v0.13.1
Go version: go1.13.5
Reproducible build: true
~/devel> use epm
~/devel> epm:install github.com/tylerreckart/gondolin
=> Installing github.com/tylerreckart/gondolin
Cloning into '/home/draugen/.elvish/lib/github.com/tylerreckart/gondolin'...
remote: Enumerating objects: 76, done.
remote: Total 76 (delta 0), reused 0 (delta 0), pack-reused 76
Unpacking objects: 100% (76/76), done.
~/devel> use github.com/tylerreckart/gondolin/gondolin
Exception: new variables can only be created in local scope
Traceback:
  /home/draugen/.elvish/lib/github.com/tylerreckart/gondolin/gondolin.elv, line 332:
    edit:-prompts-max-wait = 0.05
  [tty], line 1:
    use github.com/tylerreckart/gondolin/gondolin
prompt function error: variable $edit:styled~ not found

prompt function error: variable $edit:styled~ not found
tylerreckart commented 4 years ago

@dangerousHobo It's very likely that there has been a breaking change in elvish since this theme was originally written. I'll look into what the issue is and keep you updated in this thread.