vs.language.cmake icon indicating copy to clipboard operation
vs.language.cmake copied to clipboard

Not looking like the .gifs in the readme.md

Open ruilvo opened this issue 5 years ago • 2 comments

Hey,

I look at the .gifs in the readme.md and I notice that for example, the word VERSION is highlighted. But for me, it's not doing that. It looks like this for me:

imagem

In the .gif it looks like this.

Just to test, in gituhub it looks like this:

cmake_minimum_required(VERSION 3.15)

project(hello_world LANGUAGE CXX)

Where does this difference comes from?

ruilvo avatar Oct 31 '20 09:10 ruilvo

PS.: I know it's LANGUAGES and not LANGUAGE.

What I found: I cloned the git and I made it work by going back and used the original grammar file and it worked.

So it has something to do with that...

However I can't compile it for distribution because of this error:

node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax.

ruilvo avatar Oct 31 '20 11:10 ruilvo

Yet another update.

In the meanwhile I made it work. What I did.

In package.json I changed the minimum typescript version: "typescript": "^3.0.0",. This stopped the build error. As I said, I'm using the original syntax file. And it behaves as I expected.

Thanks for your work. I don't feel comfortable making a pull request right now. I might after I compare the language dictionaries better (there is likely a reason you changed them).

ruilvo avatar Oct 31 '20 11:10 ruilvo