nachoesmite / atom-raml

20 stars 10 forks source link

Added optional quote (") for resources #10

Open schmkr opened 9 years ago

schmkr commented 9 years ago

Hey there.

Here's a PR that allows resource names to optionally begin with a ". We're having this in our RAML like this

/files:
  description: All file related operations.
  get:
    description: List files
  "/{file_id}":
    description: Metadata information of a file.

With this minor change, that "/{file_id}": resource will also get highlighted as a resource.