ui: disable ambigous chars highlight in markdown

pull/474/head
undefined 2 years ago
parent 4005118d6b
commit 21c369139a

@ -98,6 +98,9 @@ export default class Editor extends DOMAttachedObject {
overviewRulerLanes: 0,
overviewRulerBorder: false,
fontFamily: UserContext.codeFontFamily,
unicodeHighlight: {
ambiguousCharacters: language !== 'markdown',
},
};
if (autoLayout) cfg.automaticLayout = true;
let prevHeight = 0;

@ -12,5 +12,4 @@ export function isBelow(width) {
return window.innerWidth <= width;
}
window.Hydro.utils.isAbove = isAbove;
window.Hydro.utils.isBelow = isBelow;
Object.assign(window.Hydro.utils, { isAbove, isBelow });
Loading…
Cancel
Save