atom-figlet
atom-figlet copied to clipboard
Fix issues with `getCommentStrings` for Atom 1.23+
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
Yup, without this atom-figlet cannot be used anymore, please pull those PR in @abe33
@abe33 Ping?