From fafa2830c469bb0ee8fad6bd1101a1560de2cea2 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Fri, 23 Aug 2024 16:51:38 +0000 Subject: [PATCH] feat: use float titles for help UI (fix #291) --- lua/rest-nvim/ui/help.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/rest-nvim/ui/help.lua b/lua/rest-nvim/ui/help.lua index 9ac5906..1fcea8e 100644 --- a/lua/rest-nvim/ui/help.lua +++ b/lua/rest-nvim/ui/help.lua @@ -42,8 +42,6 @@ local function get_or_create_buf() -- Write to buffer local buf_content = { - "**`rest.nvim` results window help**", - "", "**Keybinds**:", " - `" .. keybinds.prev .. "`: go to previous pane", " - `" .. keybinds.next .. "`: go to next pane", @@ -76,6 +74,7 @@ function help.open() -- Display the help buffer window ---@cast help_bufnr number local help_win = vim.api.nvim_open_win(help_bufnr, true, { + title = "rest.nvim results window help", style = "minimal", border = "single", win = winnr, -- 2.51.2