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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@ path_suffixes = [
"pryrc",
"simplecov",
"Podfile",
"Brewfile",
"Vagrantfile",
"Puppetfile",
]
first_line_pattern = '^#!.*\bruby\b'
line_comments = ["# "]

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 = [