mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
fix(lsp): add file completion to rename file
This commit is contained in:
parent
82f680ee6b
commit
52b572881b
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ function M.rename_file()
|
||||||
vim.ui.input({
|
vim.ui.input({
|
||||||
prompt = "New File Name: ",
|
prompt = "New File Name: ",
|
||||||
default = extra,
|
default = extra,
|
||||||
|
completion = "file",
|
||||||
}, function(new)
|
}, function(new)
|
||||||
if not new or new == "" or new == extra then
|
if not new or new == "" or new == extra then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue