Import package inside theme


#1

Hello there,

I’m creating a syntax theme and I’d like to import the bracket-colorizer package ("~/packages/bracket-colorizer") so that I can color brackets, parentheses, and braces.

I’ve seen some related issues here Install theme dependencies before its activation and here Depending on other packages, but I’m still not sure how to do it.

Can you help me with the code for:
1 - call this the bracket-colorizer package inside my syntax theme; and
2 - force the installation of this package when the user installs my theme.

Thank you!