aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/lua/vim/filetype/detect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype/detect.lua b/runtime/lua/vim/filetype/detect.lua
index 2232183888..5479608148 100644
--- a/runtime/lua/vim/filetype/detect.lua
+++ b/runtime/lua/vim/filetype/detect.lua
@@ -1798,7 +1798,7 @@ local patterns_text = {
function(lines)
if
-- inaccurate fast match first, then use accurate slow match
- (lines[1]:find('execve%(') and lines[1]:find('^[0-9:%.]* *execve%('))
+ (lines[1]:find('execve%(') and lines[1]:find('^[0-9:%. ]*execve%('))
or lines[1]:find('^__libc_start_main')
then
return 'strace'