We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mode equals undefined when printing shell scripts. Looking through the source, the issue lies in how VS Code reports back the languageId.
mode
undefined
languageId
VS Code uses shellscript for the languageId while CodeMirror expects it to be shell. This mismatch causes the language to be returned as undefined.
shellscript
shell
Adding the following in funcs.js after line 3 fixes the immediate issue but I'm sure there are other languages with similar mapping issues:
funcs.js
if (language == 'shellscript') { language = 'shell'; }
Let me know if you want me to submit a PR for this fix.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mode
equalsundefined
when printing shell scripts. Looking through the source, the issue lies in how VS Code reports back thelanguageId
.VS Code uses
shellscript
for thelanguageId
while CodeMirror expects it to beshell
. This mismatch causes the language to be returned asundefined
.Adding the following in
funcs.js
after line 3 fixes the immediate issue but I'm sure there are other languages with similar mapping issues:Let me know if you want me to submit a PR for this fix.
The text was updated successfully, but these errors were encountered: