diff --git a/packages/language-plugin-pug/index.ts b/packages/language-plugin-pug/index.ts index de7339a46e..af5b487ad7 100644 --- a/packages/language-plugin-pug/index.ts +++ b/packages/language-plugin-pug/index.ts @@ -43,7 +43,7 @@ const plugin: VueLanguagePlugin = ({ modules }) => { // class=" foo bar" // ^^^ ^^^ // NOTE: we need to expose source offset getter - return function(startOffset: number) { + return function (startOffset: number) { return getOffset(target.offset + startOffset); }; }