aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-25 21:28:28 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-27 00:05:36 +0100
commit5f9d4d8afeb5dc3d5df4965c24cbb4c6e01694f7 (patch)
tree38d4f038774c077b61aeb32bea2b19f55ab14cb8 /runtime/lua/vim/_editor.lua
parent0f22ea400ce5319a1e74eda41505fd9cfb788e35 (diff)
downloadrneovim-5f9d4d8afeb5dc3d5df4965c24cbb4c6e01694f7.tar.gz
rneovim-5f9d4d8afeb5dc3d5df4965c24cbb4c6e01694f7.tar.bz2
rneovim-5f9d4d8afeb5dc3d5df4965c24cbb4c6e01694f7.zip
refactor: use vim.deprecate on all deprecated functions
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r--runtime/lua/vim/_editor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index dda89e2bdb..0b338fa86f 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -888,7 +888,7 @@ end
---@private
function vim.pretty_print(...)
- vim.deprecate('vim.pretty_print', 'vim.print', '0.10')
+ vim.deprecate('vim.pretty_print()', 'vim.print()', '0.10')
return vim.print(...)
end