Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 936 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 936 Bytes

Slim Atom language package

Description

This is the Atom language package, converted from the Slim TextMate/Sublime bundle.

Contributing

Grammar is pulled as YAML from slim-template/ruby-slim.tmbundle and converted to CSON, additional changes might be done to the resulting grammars/ruby slim.cson file.

npm install
wget https://raw.githubusercontent.com/slim-template/ruby-slim.tmbundle/master/Syntaxes/Ruby%20Slim.YAML-tmLanguage
node_modules/.bin/yaml2json "Ruby Slim.YAML-tmLanguage" -p | node_modules/.bin/json2cson --2spaces > "grammars/ruby slim.cson"

Optionally, make changes to grammars/ruby slim.cson. Preview the results by rebuilding/linking the package and previewing demo.slim.

apm rebuild && apm link && atom .

Author

Fred Wu