From 78da864d8700365bf14c098f59e22f433f96ef07 Mon Sep 17 00:00:00 2001 From: Torsten Schmits Date: Sat, 14 Sep 2024 16:40:51 +0200 Subject: [PATCH] set filetype of menu buffers --- packages/menu/lib/Ribosome/Menu/Interpreter/MenuUiWindow.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/menu/lib/Ribosome/Menu/Interpreter/MenuUiWindow.hs b/packages/menu/lib/Ribosome/Menu/Interpreter/MenuUiWindow.hs index e85465a..ffa4aa1 100644 --- a/packages/menu/lib/Ribosome/Menu/Interpreter/MenuUiWindow.hs +++ b/packages/menu/lib/Ribosome/Menu/Interpreter/MenuUiWindow.hs @@ -219,6 +219,7 @@ itemsOptions (row, col, height, width) options = ensureName menuItemsScratchId options & #float <|>~ Just floatOptions & #maxSize <|>~ Just (height - 5) + & #filetype .~ Just "ribosome-menu-items" where floatOptions = def @@ -235,6 +236,7 @@ statusOptions (row, col, _, width) options = ensureName "ribosome-menu-status" options & #float <|>~ Just floatOptions & #size <|>~ Just 1 + & #filetype .~ Just "ribosome-menu-status" where floatOptions = def @@ -258,6 +260,7 @@ promptOptions (row, col, _, width) custom = & #size .~ Just 1 & #maxSize .~ Just 1 & #float .~ Just floatOptions + & #filetype .~ Just "ribosome-menu-prompt" where floatOptions = def