Auto detect some DSLs (#14693)

- Brewfile, Vagrantfile, Puppetfile (ruby)
- Pipfile (toml)
This commit is contained in:
Peter Tripp
2024-07-18 04:38:44 +00:00
committed by GitHub
parent 6e08e49d30
commit eb7fe57453
2 changed files with 4 additions and 1 deletions
@@ -21,6 +21,9 @@ path_suffixes = [
"pryrc",
"simplecov",
"Podfile",
"Brewfile",
"Vagrantfile",
"Puppetfile",
]
first_line_pattern = '^#!.*\bruby\b'
line_comments = ["# "]
+1 -1
View File
@@ -1,6 +1,6 @@
name = "TOML"
grammar = "toml"
path_suffixes = ["Cargo.lock", "toml"]
path_suffixes = ["Cargo.lock", "toml", "Pipfile"]
line_comments = ["# "]
autoclose_before = ",]}"
brackets = [