changed split confirmation message to 'a' from 'another'

This commit is contained in:
psychhim
2025-10-05 23:14:45 +05:30
parent a47c357c24
commit 559dbe8cd8
2 changed files with 2 additions and 3 deletions

View File

@@ -677,7 +677,7 @@ local function smart_open_split(prompt_bufnr, split_type)
end
if open_tab then
local choice = vim.fn.confirm('File is already open in another tab. Open split here anyway?', '&Yes\n&No', 2)
local choice = vim.fn.confirm('File is already open in a tab. Open split here anyway?', '&Yes\n&No', 2)
if choice ~= 1 then
-- User chose No → jump to the tab where file is open
vim.api.nvim_set_current_tabpage(open_tab)