Skip to content

Commit

Permalink
fix: 🐛 svelte completion on props
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderniebuhr committed Jul 30, 2021
1 parent 78fae07 commit 93ba89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/filetypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const fileTypes: {[key:string]: {pattern?: RegExp, type: string}} = {
},
'svelte': {
type: 'html',
pattern: /(\s+class:\S*$)|((\s+class\s*=\s*["]?\s*{?\s*)[^"]*$)|((\s+class\s*=\s*[']?\s*{?\s*)[^']*$)/,
pattern: /(\s+class:\S*$)|((\s+class\s*=\s*["]\s*{?\s*)[^"]*$)|((\s+class\s*=\s*[']\s*{?\s*)[^']*$)|((\s+class\s*=\s*[`]\s*{?\s*)[^`]*$)/,
},
};

Expand Down

0 comments on commit 93ba89c

Please sign in to comment.