Skip to content

Commit 51c6c2d

Browse files
committed
Simpler.
Handle *.in (pip-tools) as well. Signed-off-by: Gabriel Linder <[email protected]>
1 parent d233e73 commit 51c6c2d

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,11 @@ Zed does not (yet ?) support registering globs from extensions, so you will need
1414
{
1515
"file_types": {
1616
"Python constraints": [
17-
"constraints.txt",
18-
"constraints-*.txt",
19-
"constraints_*.txt",
20-
"*-constraints.txt",
21-
"*_constraints.txt"
17+
"*constraints*.txt"
2218
],
2319
"Python requirements": [
24-
"**/requirements/*.txt",
25-
"requirements.txt",
26-
"requirements-*.txt",
27-
"requirements_*.txt",
28-
"*-requirements.txt",
29-
"*_requirements.txt"
20+
"**/requirements/*.{in,txt}",
21+
"*requirements*.{in,txt}"
3022
]
3123
}
3224
}

0 commit comments

Comments
 (0)