Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lua/namu/namu_diagnostics/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1153,15 +1153,15 @@ function M.show(config, scope)

-- Create picker title based on scope
local titles = {
current = " Namu Diagnostics - Current File ",
buffers = " Namu Diagnostics - Open Buffers ",
workspace = " Namu Diagnostics - Workspace ",
current = " Diagnostics - Current File ",
buffers = " Diagnostics - Open Buffers ",
workspace = " Diagnostics - Workspace ",
}

-- Show picker
-- Create pick options with only the necessary modifications
local pick_options = vim.tbl_deep_extend("force", config, {
title = config.title or titles[scope] or " Namu Diagnostics ",
title = config.title or titles[scope] or " Diagnostics ",
initial_index = current_index,
preserve_order = true,
grouped_navigation = true,
Expand Down Expand Up @@ -1308,7 +1308,7 @@ function M.show_workspace_diagnostics(config)
local session_loaded = M.workspace_session_loaded or false

local pick_options = vim.tbl_deep_extend("force", {}, {
title = "Namu Diagnostics - Workspace",
title = "Diagnostics - Workspace",
preserve_order = true,
window = config.window,
current_highlight = config.current_highlight,
Expand Down