Closed linonetwo closed 4 years ago
I know the source is in https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror-keymap-sublime-text/files/keymap/sublime.js
But it is minimized so difficult to fix.
How can I found the source and debug? And I'd like to make a VSCode keymap, I also need a reference to modify from.
Thanks for the bug-report @linonetwo
This is probably related to https://github.com/codemirror/CodeMirror/issues/5917
@pmario, what do you think, should we include comments.js somewhere?
@pmario, what do you think, should we include comments.js somewhere?
I think it should be included, if it is needed.
It seems we "just" missed it ;)
We'll need to find the plugin which requires comment.js - the sublime keymap doesn't do so
may be they also missed to define the dependency.
comment.js is part of the addOns section: https://codemirror.net/doc/manual.html#addons
Describe the bug I've installed the codemirror editor, and try to edit a css file.
When I press command+/ to toggle comment, this error pops up.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error, and comment is toggled
Screenshots
Desktop (please complete the following information):