Last active
January 16, 2018 15:21
-
-
Save bijoythomas/30b49d7a8f1e29c2c6de817786b3e5e7 to your computer and use it in GitHub Desktop.
Generate ramda.sublime-completions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let R = require('ramda') | |
let filecontent = R.compose( | |
JSON.stringify, | |
R.assoc('scope', 'source.js'), | |
R.flip(R.assoc('completions'))({}), | |
R.map(R.converge(R.merge, [R.flip(R.assoc('trigger'))({}), R.flip(R.assoc('content'))({})])), | |
R.keys | |
)(R) | |
// write out contents or copy paste into ramda.sublime-completions under the Packages dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment