File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,7 @@ export class TW {
329
329
let needsRestart = false
330
330
let needsSoftRestart = false
331
331
332
+ // TODO: This should use the server-level path matcher
332
333
let isPackageMatcher = picomatch ( `**/${ PACKAGE_LOCK_GLOB } ` , { dot : true } )
333
334
let isCssMatcher = picomatch ( `**/${ CSS_GLOB } ` , { dot : true } )
334
335
let isConfigMatcher = picomatch ( `**/${ CONFIG_GLOB } ` , { dot : true } )
@@ -343,6 +344,7 @@ export class TW {
343
344
normalizedFilename = normalizeDriveLetter ( normalizedFilename )
344
345
345
346
for ( let ignorePattern of ignore ) {
347
+ // TODO: This should use the server-level path matcher
346
348
let isIgnored = picomatch ( ignorePattern , { dot : true } )
347
349
348
350
if ( isIgnored ( normalizedFilename ) ) {
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export default async function isExcluded(
20
20
pattern = normalizePath ( pattern )
21
21
pattern = normalizeDriveLetter ( pattern )
22
22
23
+ // TODO: This should use the server-level path matcher
23
24
if ( picomatch ( pattern ) ( file ) ) {
24
25
return true
25
26
}
You can’t perform that action at this time.
0 commit comments