Skip to content

Commit

Permalink
Postpone loading of lw. This is temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu committed Nov 19, 2023
1 parent ab755ca commit 8f38538
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ import { FoldingProvider, WeaveFoldingProvider } from './language/folding'
import { SelectionRangeProvider } from './language/selection'
import { bibtexFormat, bibtexFormatterProvider } from './lint/bibtex-formatter'
import { DocumentChanged } from './core/event-bus'
import * as lw from './lw'

const logger = extension.log('Extension')
let lw: any

function initialize() {
lw = require('./lw')

lw.completer.citation.initialize()

lw.setViewer(new Viewer())
Expand Down

0 comments on commit 8f38538

Please sign in to comment.