Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit daa307e

Browse files
committed
set agda version to unknown before agda-mode:load
1 parent 9f74907 commit daa307e

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

lib/commander.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/process.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commander.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ export default class Commander {
9090

9191
activate(command: Command) {
9292
// some commands can only be executed after 'loaded'
93-
const exception = ['Load', 'Quit', 'Info', 'InputSymbol',
93+
const exception = [
94+
'Load',
95+
'Quit',
96+
'Info',
97+
'InputSymbol',
9498
'InputSymbolCurlyBracket',
9599
'InputSymbolBracket',
96100
'InputSymbolParenthesis',

src/process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export default class Process {
293293
const path = atom.config.get('agda-mode.executablePath');
294294
const args = this.getProgramArgs();
295295
args.push('--interaction');
296-
const agdaVersion = this.agdaVersion ? this.agdaVersion.raw : 'null';
296+
const agdaVersion = this.agdaVersion ? this.agdaVersion.raw : 'unknown';
297297
this.core.view.set('Info', [
298298
`Agda version: ${agdaVersion}`,
299299
`Agda executable path: ${path}`,

0 commit comments

Comments
 (0)