vim-raml
vim-raml copied to clipboard
Basic Type Names in String
If I'm defining a type like this:
Person:
properties:
age:
type: integer
description: |
The number of years the person has been alive.
The word "number" is highlighted the same as the word "integer" above it, but "number" is just part of a string. If I inline the description (to description: The number of years the person has been alive.
), it is also highlighted as if it were the name of a type. If I wrap it in double quotes, it highlights all the words in the description the same.
@benhamill, thanks for finding all this stuff! This one is something I was actually aware of, but I didn't know how annoying it would be. The longer it's sat, it turns out the answer is very :smile: .
This one looks a little trickier, but I do want to track it down.