Skip to content

Commit 9cab023

Browse files
committed
🩹 Disable recipe/build.sh for conda/mamba
1 parent 657a661 commit 9cab023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/termux_language_server/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_filetype(uri: str) -> FILETYPE | Literal[""]:
6969
dirname = os.path.basename(os.path.dirname(uri))
7070
basename = os.path.basename(uri)
7171
ext = uri.split(os.path.extsep)[-1]
72-
if basename == "build.sh" and dirname != "scripts":
72+
if basename == "build.sh" and dirname != "scripts" and dirname != "recipe":
7373
return "build.sh"
7474
if basename.endswith(".subpackage.sh"):
7575
return "subpackage.sh"

0 commit comments

Comments
 (0)