Closed Luke-zhang-04 closed 4 years ago
Massive facepalm
Is it working for you now, @Luke-zhang-04 ? If so, what was the issue?
Is it working for you now, @Luke-zhang-04 ? If so, what was the issue?
I didn't set my background to dark to the code under the if didn't execute :man_facepalming:
Ahh, I see 😁 I'm glad it's working now!
Description
Usage of themer along with @themer/vim causes undefined variable errors
To reproduce
Steps to reproduce the behavior:
Screenshots
Expected behavior
No errors
Environment information
CLI
Please fill out the following information if you are using the command-line interface. For the web UI, you can delete this section.
themer
version [e.g. 3.3.4]: 3.3.4themer
packages and their versions [e.g.@themer/vscode@2.2.1
]: @themer/vim@3.3.0Additional context
Here's my config file
The problem is the if statement causing the variable to be scoped locally
I know the
s:
is supposed to scope the variable to the script, but for some reason, I get those errors. If I remove the if statements, themer works.