diff --git a/edit/edit.js b/edit/edit.js index 38eade7c..6558f8d2 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1955,7 +1955,7 @@ function showCodeMirrorPopup(title, html, options) { foldGutter: true, gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter', 'CodeMirror-lint-markers'], matchBrackets: true, - lint: {getAnnotations: CodeMirror.lint.css, delay: 0}, + lint: getLinterConfigForCodeMirror(prefs.get('editor.linter')), styleActiveLine: true, theme: prefs.get('editor.theme'), keyMap: prefs.get('editor.keyMap')