Skip to content

Fix issues with getCommentStrings for Atom 1.23+#10

Open
danielhickman wants to merge 1 commit intoabe33:masterfrom
danielhickman:master
Open

Fix issues with getCommentStrings for Atom 1.23+#10
danielhickman wants to merge 1 commit intoabe33:masterfrom
danielhickman:master

Conversation

@danielhickman
Copy link

It now calls editor.getScopedSettingsDelegate().getCommentStrings(scope) if getCommentStrings doesn't exist. See: hydrogen/pull/1093

I continued to use the slightly more verbose ? operator because it seemed slightly better than a short circuit assignment and wrapped it across multiple lines because the API seems to have changed a bunch.

I tested it in 1.23 and 1.21. Fixes #9

@marcofugaro
Copy link

Yup, without this atom-figlet cannot be used anymore, please pull those PR in @abe33

@dead-claudia
Copy link

@abe33 Ping?

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