This commit is contained in:
Nathan Sobo
2013-02-13 19:15:39 -07:00
parent 539d134a54
commit ce200157de
2 changed files with 12 additions and 14 deletions

View File

@@ -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

View File

@@ -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