File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
8
8
9
9
- fix typo
10
10
- use absolute path for GHCi
11
+ - add activation event (in a stack project)
11
12
12
13
## [ 0.1.2]
13
14
Original file line number Diff line number Diff line change 20
20
"activationEvents" : [
21
21
" onLanguage:haskell" ,
22
22
" onLanguage:literate haskell" ,
23
+ " workspaceContains:stack.yaml" ,
23
24
" onCommand:runner2.ghci"
24
25
],
25
26
"main" : " ./out/extension.js" ,
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ export async function activate(context: vscode.ExtensionContext) {
55
55
util . statButton ( "Stack Test" , "runner2.stacktest" )
56
56
) ;
57
57
if ( config . enableStackRun ) {
58
- context . subscriptions . push ( util . statButton ( "Stack Run" , "runner2.stackrun" ) ) ;
58
+ context . subscriptions . push (
59
+ util . statButton ( "Stack Run" , "runner2.stackrun" ) ) ;
59
60
}
60
61
}
61
62
You can’t perform that action at this time.
0 commit comments