Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle command #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Toggle command #32

wants to merge 2 commits into from

Conversation

b4ckup
Copy link

@b4ckup b4ckup commented Oct 23, 2018

Conveniently toggle rainbow indent highlighting via command indent-rainbow.toggle. If you're interested in this you can merge this

@oderwat
Copy link
Owner

oderwat commented Oct 23, 2018

Thanks! I am short on time right now but will check it out at the weekend.

@@ -26,18 +27,36 @@ export function activate(context: vscode.ExtensionContext) {
/.*\*.*/g
];

var active = false;
var colors = vscode.workspace.getConfiguration('indentRainbow')['colors'] || [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed from const to var?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants