Skip to content

Commit

Permalink
fix(codemirror): lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Jan 24, 2024
1 parent 1b88a16 commit 50071f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/libro-codemirror/src/auto-complete/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ export class CompletionState {
const sources =
conf.override ||
state
.languageDataAt<
CompletionSource | readonly (string | Completion)[]
>('autocomplete', cur(state))
.languageDataAt<CompletionSource | readonly (string | Completion)[]>(
'autocomplete',
cur(state),
)
.map(asSource);
let active: readonly ActiveSource[] = sources.map((source) => {
const value =
Expand Down

0 comments on commit 50071f5

Please sign in to comment.