mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: disable ambigous chars highlight in markdown
This commit is contained in:
1 parent
4005118d6b
commit
21c369139a
2 files changed
+4
-2
No files matched your search
@@ -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 });
|
||||
Reference in new issue
Block a user