syntax highlighting not working in my angular 6 project even after importing all mode file and codemirror.js file
is there some issue with its configuration???
this.config = {
matchBrackets: true,
indentUnit: 4,
autoCloseTags: true,
matchTags: true,
indentWithTabs: true,
autoCloseBrackets: true,
lineNumbers: true,
mode:'javascript',
theme: 'dracula',
foldGutter: true,
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]
};