Skip to content

Commit

Permalink
refactor!: remove deprecated option types.roblox
Browse files Browse the repository at this point in the history
  • Loading branch information
lopi-py committed Aug 30, 2024
1 parent cd3c402 commit d262add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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

- Removed deprecated commands starting with `Luau*`
- Deprecated option `types.roblox`
- Deprecated commands starting with `Luau*`
- Dropped support for Neovim 0.9

### Fixed
Expand Down
4 changes: 0 additions & 4 deletions lua/luau-lsp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ local function validate(opts)
end
end

if vim.tbl_get(opts, "types", "roblox") ~= nil then
log.warn "'types.roblox' is deprecated, use 'platform.type' instead"
end

local function check_server_setting(name)
if vim.tbl_get(opts, "server", "settings", "luau-lsp", name) ~= nil then
log.error("'%s' should not be passed as server setting", name)
Expand Down

0 comments on commit d262add

Please sign in to comment.