Auto detect some DSLs (#14693)
- Brewfile, Vagrantfile, Puppetfile (ruby) - Pipfile (toml)
This commit is contained in:
@@ -21,6 +21,9 @@ path_suffixes = [
|
||||
"pryrc",
|
||||
"simplecov",
|
||||
"Podfile",
|
||||
"Brewfile",
|
||||
"Vagrantfile",
|
||||
"Puppetfile",
|
||||
]
|
||||
first_line_pattern = '^#!.*\bruby\b'
|
||||
line_comments = ["# "]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name = "TOML"
|
||||
grammar = "toml"
|
||||
path_suffixes = ["Cargo.lock", "toml"]
|
||||
path_suffixes = ["Cargo.lock", "toml", "Pipfile"]
|
||||
line_comments = ["# "]
|
||||
autoclose_before = ",]}"
|
||||
brackets = [
|
||||
|
||||
Reference in New Issue
Block a user