Skip to content
This repository was archived by the owner on Mar 2, 2024. It is now read-only.

Updated snippets (4.0.0-beta) #16

Merged
merged 2 commits into from
Aug 29, 2017
Merged

Updated snippets (4.0.0-beta) #16

merged 2 commits into from
Aug 29, 2017

Conversation

tomurb
Copy link
Contributor

@tomurb tomurb commented Aug 29, 2017

I've converted Sublime Text snippets[1] with linux sed command and atomizr[2]. The directories structure have changed a lot but it seems to work.

[1] https://github.com/degouville/sublime-bootstrap4
[2] https://github.com/idleberg/node-atomizr

@degouville
Copy link
Owner

@wolnyludz look great! good job 👏

@degouville degouville merged commit 14d8d17 into degouville:master Aug 29, 2017
@degouville
Copy link
Owner

can i mention about u in the readme?

@tomurb
Copy link
Contributor Author

tomurb commented Aug 29, 2017

Sure. Thanks.

@tomurb
Copy link
Contributor Author

tomurb commented Aug 29, 2017

Just in case if there were more snippets in the future to convert.

//With terminal opened in the snippets folder and old atom snippets already deleted.
sed -i "s/<\/snippet>/<scope>text.html<\/scope><\/snippet>/g" *
find ./ -type f -exec atomizr "*" -t atom -o ~/.atom/packages/atom-bootstrap4/snippets/a.cson {} \;

@tomurb
Copy link
Contributor Author

tomurb commented Aug 29, 2017

Oh wait. I forgot to put these converted files into snippets directory after deleting everything inside.
It should be

-atom-screenshot
-settings
-snippets
|-a.cson
|-accordion.cson
|-...

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

Successfully merging this pull request may close these issues.

2 participants