Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sanctuary functions in Sublime autocomplete
let S = require('sanctuary')
let R = require('ramda')
let filecontent = R.compose(
R.assoc('scope', 'source.js'),
R.flip(R.assoc('completions'))({}),, [R.flip(R.assoc('trigger'))({}), R.flip(R.assoc('content'))({})])),
// write out contents or copy paste into sanctuary.sublime-completions under the Packages dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment