Skip to content

Commit

Permalink
fix: indentation of example
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfbecker committed Apr 22, 2020
1 parent a30ea3a commit ed63326
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,14 @@ async function main(): Promise<void> {
"import * as sourcegraph from 'sourcegraph'",
'',
'export function activate(ctx: sourcegraph.ExtensionContext): void {',
' ctx.subscriptions.add(',
" sourcegraph.languages.registerHoverProvider(['*'], {",
' provideHover: () => ({',
' contents: {',
` value: 'Hello world from ${name}! 🎉🎉🎉',`,
' kind: sourcegraph.MarkupKind.Markdown',
' }',
' }),',
' ctx.subscriptions.add(',
" sourcegraph.languages.registerHoverProvider(['*'], {",
' provideHover: () => ({',
' contents: {',
` value: 'Hello world from ${name}! 🎉🎉🎉',`,
' kind: sourcegraph.MarkupKind.Markdown',
' }',
' }),',
' })',
' )',
'}',
Expand Down

0 comments on commit ed63326

Please sign in to comment.