Skip to content

Commit

Permalink
refactor!: remove deprecated commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lopi-py committed Aug 30, 2024
1 parent 5503c0a commit cd3c402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

### Removed

- Support for Neovim 0.9
- Removed deprecated commands starting with `Luau*`
- Dropped support for Neovim 0.9

### Fixed

Expand Down
18 changes: 0 additions & 18 deletions plugin/luau-lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "?",
})

0 comments on commit cd3c402

Please sign in to comment.