mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-18 18:08:07 +03:00
Auto detect some DSLs (#14693)
- Brewfile, Vagrantfile, Puppetfile (ruby) - Pipfile (toml)
This commit is contained in:
parent
6e08e49d30
commit
eb7fe57453
@ -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…
Reference in New Issue
Block a user