mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
💄
This commit is contained in:
@@ -126,13 +126,13 @@ files:
|
||||
```
|
||||
|
||||
A snippets file contains scope selectors at its top level. Each scope selector
|
||||
contains a hash of snippets keyed by their name. Each snippet specifies a `prefix`
|
||||
and a `body` key.
|
||||
contains a hash of snippets keyed by their name. Each snippet specifies a
|
||||
`prefix` and a `body` key.
|
||||
|
||||
All files in the directory will be automatically loaded, unless the
|
||||
`package.json` supplies a `snippets` key as a manifest. As with all scoped items,
|
||||
snippets loaded later take precedence over earlier snippets when two snippets
|
||||
match a scope with the same specificity.
|
||||
`package.json` supplies a `snippets` key as a manifest. As with all scoped
|
||||
items, snippets loaded later take precedence over earlier snippets when two
|
||||
snippets match a scope with the same specificity.
|
||||
|
||||
## Included Packages
|
||||
|
||||
|
||||
@@ -10,15 +10,13 @@ By default the wrap-guide is placed at the 80th column.
|
||||
You can customize where the column is placed using the `wrapGuide.columns`
|
||||
config option.
|
||||
|
||||
```json
|
||||
{
|
||||
"wrapGuide": {
|
||||
"columns": [
|
||||
{ "pattern": "\.mm$", "column": 200 },
|
||||
{ "pattern": "\.cc$", "column": 120 }
|
||||
]
|
||||
}
|
||||
}
|
||||
config.cson:
|
||||
```coffee-cript
|
||||
"wrap-guide":
|
||||
columns: [
|
||||
{ pattern: "\.mm$", column: 200 },
|
||||
{ pattern: "\.cc$", column: 120 }
|
||||
]
|
||||
```
|
||||
|
||||
The above config example would place the guide at the 200th column for paths
|
||||
|
||||
Reference in New Issue
Block a user