From f0f35ac3faa76f97e203b98a1a1cc746f65e16d9 Mon Sep 17 00:00:00 2001 From: Barrca <60709314+FBarrca@users.noreply.github.com> Date: Sat, 17 May 2025 20:19:51 +0200 Subject: [PATCH] Disable icons in autocomplete suggestions --- src/modules/commands/source.ts | 4 +++- styles.css | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/commands/source.ts b/src/modules/commands/source.ts index 412c888..5f70cc8 100644 --- a/src/modules/commands/source.ts +++ b/src/modules/commands/source.ts @@ -41,7 +41,9 @@ export function slashCommandAutocompletion(options: { prefix: string, customComm override: [createSlashCommandSource(options)], tooltipClass: () => "tooltip-autocomplete", optionClass: () => "completion-label", - }) + icons: false, + } + ) } // Create a decoration for highlighting slash commands diff --git a/styles.css b/styles.css index a7222a4..29da3b8 100644 --- a/styles.css +++ b/styles.css @@ -139,7 +139,6 @@ font-weight: var(--font-normal); font-family: Arial, Helvetica, sans-serif !important; border-radius: 4px; - margin-left: -1em; white-space: nowrap; }