Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jul 16, 2022
1 parent fd4d125 commit eedb660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pug-language-service/src/baseParse.ts
Expand Up @@ -142,7 +142,7 @@ export function baseParse(pugCode: string) {

const noTitleAttrs = node.attrs.filter(attr => !attr.mustEscape && attr.name !== 'class');
const noTitleClassAttrs = node.attrs.filter(attr => !attr.mustEscape && attr.name === 'class');
const attrsBlock = attrsBlocks.get(getDocOffset(node.line, node.column)); // support attr auto-complete in empty space
const attrsBlock = attrsBlocks.get(getDocOffset(node.line, node.column)); // support attr auto-complete in spaces

addClassesOrStyles(noTitleClassAttrs, 'class');

Expand Down

0 comments on commit eedb660

Please sign in to comment.