summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build b/scripts/build
index 03c005c4..982e0f3a 100755
--- a/scripts/build
+++ b/scripts/build
@@ -559,8 +559,10 @@ def generate_ftdetect(packages, heuristics)
let l:filetype = polyglot#Shebang()
if l:filetype != ""
exec "setf " . l:filetype
- return
+ return 1
endif
+
+ return 0
endfunc
let s:interpreters = {