From cd3c402f8e9db51add6a6096b6afffcc09f50a2d Mon Sep 17 00:00:00 2001 From: lopy <70210066+lopi-py@users.noreply.github.com> Date: Fri, 30 Aug 2024 13:38:21 -0500 Subject: [PATCH] refactor!: remove deprecated commands --- CHANGELOG.md | 3 ++- plugin/luau-lsp.lua | 18 ------------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98510b1..69ac51d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ### Removed -- Support for Neovim 0.9 +- Removed deprecated commands starting with `Luau*` +- Dropped support for Neovim 0.9 ### Fixed diff --git a/plugin/luau-lsp.lua b/plugin/luau-lsp.lua index 2715d98..92d94a6 100644 --- a/plugin/luau-lsp.lua +++ b/plugin/luau-lsp.lua @@ -13,21 +13,3 @@ end, { return require("luau-lsp.command").complete(...) end, }) - -vim.api.nvim_create_user_command("LuauLog", function() - require("luau-lsp.log").warn "'LuauLog' is deprecated, use 'LuauLsp log' instead" -end, {}) - -vim.api.nvim_create_user_command("LuauBytecode", function() - require("luau-lsp.log").warn "'LuauBytecode' is deprecated, use 'LuauLsp bytecode' instead" -end, {}) - -vim.api.nvim_create_user_command("LuauCompilerRemarks", function() - require("luau-lsp.log").warn "'LuauCompilerRemarks' is deprecated, use 'LuauLsp compiler_remarks' instead" -end, {}) - -vim.api.nvim_create_user_command("LuauRegenerateSourcemap", function() - require("luau-lsp.log").warn "'LuauRegenerateSourcemap' is deprecated, use 'LuauLsp regenerate_sourcemap' instead" -end, { - nargs = "?", -})