MCPcopy Create free account
hub / github.com/bathos/Ecmascript-Sublime / captures

Function captures

nested/src/modify-ecmascript.js:128–128  ·  view source on GitHub ↗
(i_group, si_scope)

Source from the content-addressed store, hash-verified

126 const insert_rules = (z_inserts, i_insert) => a_rules => a_rules.splice(i_insert, 0, ...(yaml_load(z_inserts)).map(yaml_load));
127
128 const captures = (i_group, si_scope) => `$.contexts..*[?(@.captures["${i_group}"]=="${si_scope}")]`;
129 const scope_equals = si_scope => `$.contexts..*[?(@.scope=="${si_scope}")]`;
130
131 let f_escape_backtick = match_replace(/([`])/g, '\\\\$1');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected