mirror of
https://github.com/hyzendust/KickestEnd.nvim.git
synced 2026-02-15 03:41:14 +01:00
changed split confirmation message to 'a' from 'another'
This commit is contained in:
2
init.lua
2
init.lua
@@ -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)
|
||||
|
||||
@@ -115,8 +115,7 @@ return {
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user