@@ -5,7 +5,7 @@ import lineColumn from 'line-column'
5
5
import { isCssContext , isCssDoc } from './css'
6
6
import { isHtmlContext , isVueDoc } from './html'
7
7
import { isWithinRange } from './isWithinRange'
8
- import { isJsxContext } from './js'
8
+ import { isJsContext } from './js'
9
9
import { dedupeByRange , flatten } from './array'
10
10
import { getClassAttributeLexer , getComputedClassAttributeLexer } from './lexers'
11
11
import { getLanguageBoundaries } from './getLanguageBoundaries'
@@ -526,7 +526,7 @@ export async function findClassNameAtPosition(
526
526
classNames = await findClassNamesInRange ( state , doc , searchRange , 'css' )
527
527
} else if ( isHtmlContext ( state , doc , position ) ) {
528
528
classNames = await findClassNamesInRange ( state , doc , searchRange , 'html' )
529
- } else if ( isJsxContext ( state , doc , position ) ) {
529
+ } else if ( isJsContext ( state , doc , position ) ) {
530
530
classNames = await findClassNamesInRange ( state , doc , searchRange , 'jsx' )
531
531
} else {
532
532
classNames = await findClassNamesInRange ( state , doc , searchRange )
0 commit comments