Auto detect some DSLs (#14693)
- Brewfile, Vagrantfile, Puppetfile (ruby) - Pipfile (toml)
This commit is contained in:
parent
6e08e49d30
commit
eb7fe57453
2 changed files with 4 additions and 1 deletions
|
@ -21,6 +21,9 @@ path_suffixes = [
|
||||||
"pryrc",
|
"pryrc",
|
||||||
"simplecov",
|
"simplecov",
|
||||||
"Podfile",
|
"Podfile",
|
||||||
|
"Brewfile",
|
||||||
|
"Vagrantfile",
|
||||||
|
"Puppetfile",
|
||||||
]
|
]
|
||||||
first_line_pattern = '^#!.*\bruby\b'
|
first_line_pattern = '^#!.*\bruby\b'
|
||||||
line_comments = ["# "]
|
line_comments = ["# "]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name = "TOML"
|
name = "TOML"
|
||||||
grammar = "toml"
|
grammar = "toml"
|
||||||
path_suffixes = ["Cargo.lock", "toml"]
|
path_suffixes = ["Cargo.lock", "toml", "Pipfile"]
|
||||||
line_comments = ["# "]
|
line_comments = ["# "]
|
||||||
autoclose_before = ",]}"
|
autoclose_before = ",]}"
|
||||||
brackets = [
|
brackets = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue