We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd7d1a commit c637b46Copy full SHA for c637b46
src/emmet.ts
@@ -1,5 +1,5 @@
1
import * as vscode from 'vscode'
2
-import { getExtensionSetting, registerExtensionCommand, updateExtensionSetting } from 'vscode-framework'
+import { getExtensionSetting, registerExtensionCommand } from 'vscode-framework'
3
import { EmmetResult } from '../typescript/src/ipcTypes'
4
import { sendCommand } from './sendCommand'
5
@@ -11,6 +11,7 @@ export const registerEmmet = async () => {
11
reactLangs,
12
{
13
async provideCompletionItems(document, position, token, context) {
14
+ if (!getExtensionSetting('jsxEmmet')) return
15
const emmetConfig = vscode.workspace.getConfiguration('emmet')
16
if (!emmetConfig.excludeLanguages.includes(document.languageId)) return
17
0 commit comments