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 657a661 commit 9cab023Copy full SHA for 9cab023
src/termux_language_server/utils.py
@@ -69,7 +69,7 @@ def get_filetype(uri: str) -> FILETYPE | Literal[""]:
69
dirname = os.path.basename(os.path.dirname(uri))
70
basename = os.path.basename(uri)
71
ext = uri.split(os.path.extsep)[-1]
72
- if basename == "build.sh" and dirname != "scripts":
+ if basename == "build.sh" and dirname != "scripts" and dirname != "recipe":
73
return "build.sh"
74
if basename.endswith(".subpackage.sh"):
75
return "subpackage.sh"
0 commit comments