vim-raml icon indicating copy to clipboard operation
vim-raml copied to clipboard

Basic Type Names in String

Open benhamill opened this issue 8 years ago • 1 comments

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 avatar Apr 14 '16 03:04 benhamill

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

IN3D avatar Apr 15 '16 17:04 IN3D