Skip to content

Commit de17fe2

Browse files
committed
Adding selection based running of Sage code 😈
1 parent 0c41e88 commit de17fe2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/grammars.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ module.exports =
417417
args: (context) -> ['-f', context.filepath]
418418

419419
Sage:
420+
"Selection Based":
421+
command: "sage"
422+
args: (context) -> ['-c', context.getCode()]
420423
"File Based":
421424
command: "sage"
422425
args: (context) -> [context.filepath]

0 commit comments

Comments
 (0)