Closed csvn closed 1 year ago
👍🏼 I could use this.
I'm on a Mac and can't find where to put a copy of this, so I just updated the app contents at: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/pug/syntaxes/pug.tmLanguage.json
I tried it out and works for me.
@csvn , did you see the file as it is packaged with VS Code? At the beginning of the the file it states:
This file has been converted from https://github.com/davidrios/pug-tmbundle/blob/master/Syntaxes/Pug.JSON-tmLanguage If you want to provide a fix or improvement, please create a pull request against the original repository. Once accepted there, we are happy to receive an update request.
It looks like this project is abandoned, so what do the developers of VS Code do in this case?
@aakoch indeed, I originally opened an issue on VSCode's repository, but it was transferred over and opened as #30 here. I'm not sure either what to do either. I'm not using Pug a lot right now, so I just left this lying here 😅
I could also use this
I couldn't figure out how to test the change with the files in this repository, but I tried copying the change into
C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\pug\syntaxes\pug.tmLanguage.json
then restarting VSCode. It seemed to be working well as far as I can see.Let me know if I missed something 😀
Fixes #30