Skip to content

Commit

Permalink
removed incompatible babel parser plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
uguraslan committed Dec 9, 2024
1 parent 3f9682e commit 1a0b765
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "lightningjs",
"displayName": "Lightning Blits",
"description": "Template syntax highlighting and code completion for the Lightning Blits framework",
"version": "1.2.0",
"version": "1.2.1",
"repository": {
"type": "git",
"url": "https://github.com/lightning-js/blits-vscode-extension.git"
Expand Down
1 change: 0 additions & 1 deletion src/completionProviders/templateTags.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ const getCompletionItems = async (document, currentDoc, position, isBlits, fileP

if (isCursorInsideTemplate) {
const componentData = await analyzeBlitsComponent(currentDoc, fileExt, filePath)
console.log(JSON.stringify(componentData, null, 2))
return await completionItems.componentNames.suggest(componentData)
}

Expand Down
2 changes: 1 addition & 1 deletion src/parsers/ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
const parser = require('@babel/parser')

const parseAST = (code, fileExtension) => {
const pluginList = ['objectRestSpread', 'optionalChaining', 'nullishCoalescingOperator', 'flow']
const pluginList = ['objectRestSpread', 'optionalChaining', 'nullishCoalescingOperator']

if (fileExtension === 'ts' || fileExtension === 'tsx') {
pluginList.push('typescript')
Expand Down

0 comments on commit 1a0b765

Please sign in to comment.