Skip to content

Commit

Permalink
Merge pull request #292 from absszero/fix/non-html-files
Browse files Browse the repository at this point in the history
Fix completion not working for non-HTML files
  • Loading branch information
ecmel authored Nov 6, 2024
2 parents 4912c02 + 88974b1 commit fb2022d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function validate(

export function activate(context: ExtensionContext) {
context.subscriptions.push(
languages.registerCompletionItemProvider(enabledLanguages, provider),
languages.registerCompletionItemProvider(enabledLanguages, provider, " "),
languages.registerDefinitionProvider(enabledLanguages, provider),
workspace.onDidSaveTextDocument(async (document) => {
invalidate(document.uri.toString());
Expand Down

0 comments on commit fb2022d

Please sign in to comment.