Skip to content

Commit fafa283

Browse files
feat: use float titles for help UI (fix #291)
1 parent 318eb50 commit fafa283

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/rest-nvim/ui/help.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ local function get_or_create_buf()
4242

4343
-- Write to buffer
4444
local buf_content = {
45-
"**`rest.nvim` results window help**",
46-
"",
4745
"**Keybinds**:",
4846
" - `" .. keybinds.prev .. "`: go to previous pane",
4947
" - `" .. keybinds.next .. "`: go to next pane",
@@ -76,6 +74,7 @@ function help.open()
7674
-- Display the help buffer window
7775
---@cast help_bufnr number
7876
local help_win = vim.api.nvim_open_win(help_bufnr, true, {
77+
title = "rest.nvim results window help",
7978
style = "minimal",
8079
border = "single",
8180
win = winnr,

0 commit comments

Comments
 (0)