Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when trying to Clone a Textmate's "LAZY" theme #5

Closed
alfuken opened this issue Jul 22, 2022 · 1 comment
Closed

Exception when trying to Clone a Textmate's "LAZY" theme #5

alfuken opened this issue Jul 22, 2022 · 1 comment

Comments

@alfuken
Copy link

alfuken commented Jul 22, 2022

Exception when trying to Clone a Textmate's "LAZY" theme:

馃毇 SyntaxError: JSON5: invalid character '<' at 1:1
at syntaxError (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/node_modules/json5/lib/parse.js:1083:17)
at invalidChar (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/node_modules/json5/lib/parse.js:1028:12)
at Object.value (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/node_modules/json5/lib/parse.js:287:15)
at lex (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/node_modules/json5/lib/parse.js:78:42)
at Object.parse (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/node_modules/json5/lib/parse.js:25:17)
at Object.read (/Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/src/utils/fs.js:7:30)
at /Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/src/theme.js:95:33
at _withProgress (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:45034)
at _.withProgress (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:83:44788)
at Object.withProgress (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:106:42345)
at /Users/bohdan/.vscode/extensions/sudoaugustin.vslook-0.3.1/src/theme.js:94:14
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@sudoaugustin
Copy link
Owner

There are two approaches in vscode syntax theming. VSLook only works with .json theme. The LAZY used .tmTheme and VSLook doesn't support that.

Screen Shot 2022-07-24 at 7 11 38 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants