1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 18:16:19 +02:00

highlight matching tags in html. fixes #144

This commit is contained in:
Kushagra Gour
2017-07-04 02:53:56 +05:30
parent ca1f255a34
commit 9aa2123b49
2 changed files with 4 additions and 1 deletions

View File

@ -1090,6 +1090,7 @@ runBtn, searchInput, consoleEl, consoleLogEl, logCountEl, fontStyleTag, fontStyl
autoCloseBrackets: true,
autoCloseTags: true,
matchBrackets: true,
matchTags: options.matchTags || false,
tabMode: 'indent',
keyMap: 'sublime',
theme: 'monokai',
@ -1194,7 +1195,8 @@ runBtn, searchInput, consoleEl, consoleLogEl, logCountEl, fontStyleTag, fontStyl
mode: 'htmlmixed',
profile: 'xhtml',
gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter'],
noAutocomplete: true
noAutocomplete: true,
matchTags: { bothTags: true }
});
emmetCodeMirror(scope.cm.html);
scope.cm.css = initEditor(cssCode, {