-
Notifications
You must be signed in to change notification settings - Fork 0
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
cannot toggle it "on". #2
Comments
Caleb,
Thanks for your reply. Good luck finding the answers.
*richard*.
…On Mon, 25 Mar 2019 at 08:23, Caleb Meyer ***@***.***> wrote:
If you put only prismatic-parens:toggle into your init.coffee, you will
get that error. That is the correct syntax for referring to the command in
your keymap. Unfortunately, atom doesn't expose methods for each command.
To call it from your init script, you'd need to use something like
atom.commands.dispatch(atom.workspace, 'prismatic-parens:toggle')
However, I'm currently unable to get that to work:
[image: image]
<https://user-images.githubusercontent.com/3342777/54886020-13062c80-4e51-11e9-9ee8-ce29da695939.png>
It does work if you call it via the command palette, but I understand it's
inconvenient to have to do that over and over again. I'll put some
questions out to the slack to see what everyone thinks. Maybe we can find
something.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATT852jnWzYGONwqFv_KmGhQ6Irgl7Qwks5vZ-zigaJpZM4cFViL>
.
|
Richard, I did get a few comments on slack: I haven't had time to see if they would work yet, and I don't anticipate having that time within the next week or so. Sorry for the long wait. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I put
prismatic-parens:toggle
into init.coffee but it won't start. Error message is
Failed to load /Users/richardh9935/.atom/init.coffee
prismatic is not defined
I suspect the hyphen or the capitalisation is incorrect. What should I have put in?
The text was updated successfully, but these errors were encountered: