file line detection: allow whitespace after shebang

This commit is contained in:
Martin Aeschlimann
2018-06-21 10:24:45 +02:00
parent d34d9735cc
commit e993d1179d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb" ],
"filenames": [ "rakefile", "gemfile", "guardfile", "podfile", "capfile" ],
"aliases": [ "Ruby", "rb" ],
"firstLine": "^#!/.*\\bruby\\b",
"firstLine": "^#!\\s*/.*\\bruby\\b",
"configuration": "./language-configuration.json"
}],
"grammars": [{