Hey,
I’m using these options:
autoFocus: true,
lineNumbers: true,
gutters: [‘CodeMirror-lint-markers’],
lint: true,
indentWithTabs: false,
tabMode: ‘indent’,
mode: ‘yaml’,
extraKeys: {
‘Cmd-/’: editor => {
editor.toggleComment({ commentBlankLines: true, fullLines: true });
}
}
The function is being called when pressing Cmd-/, but for some reason, the toggle command is not being executed, and the code is not being commented…
Any suggestions or ideas for what I’m doing wrong?