From db9e4bc458e1f8428e1ca83d75e34fcba50c90cd Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Wed, 8 Jan 2020 10:37:38 +0100 Subject: [PATCH] Fix #87994 --- src/vs/editor/contrib/suggest/suggestWidget.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/editor/contrib/suggest/suggestWidget.ts b/src/vs/editor/contrib/suggest/suggestWidget.ts index e96b0ced99423..85358ea708fb5 100644 --- a/src/vs/editor/contrib/suggest/suggestWidget.ts +++ b/src/vs/editor/contrib/suggest/suggestWidget.ts @@ -133,6 +133,7 @@ class Renderer implements IListRenderer const options = this.editor.getOptions(); const fontInfo = options.get(EditorOption.fontInfo); const fontFamily = fontInfo.fontFamily; + const fontFeatureSettings = fontInfo.fontFeatureSettings; const fontSize = options.get(EditorOption.suggestFontSize) || fontInfo.fontSize; const lineHeight = options.get(EditorOption.suggestLineHeight) || fontInfo.lineHeight; const fontWeight = fontInfo.fontWeight; @@ -142,6 +143,7 @@ class Renderer implements IListRenderer data.root.style.fontSize = fontSizePx; data.root.style.fontWeight = fontWeight; main.style.fontFamily = fontFamily; + main.style.fontFeatureSettings = fontFeatureSettings; main.style.lineHeight = lineHeightPx; data.icon.style.height = lineHeightPx; data.icon.style.width = lineHeightPx;