diff --git a/lua/rustaceanvim/config/internal.lua b/lua/rustaceanvim/config/internal.lua index 9723c0d4..78f7cd60 100644 --- a/lua/rustaceanvim/config/internal.lua +++ b/lua/rustaceanvim/config/internal.lua @@ -210,7 +210,7 @@ local RustaceanDefaultConfig = { --- @type DapExecutableConfig | DapServerConfig | disable local result = false local has_mason, mason_registry = pcall(require, 'mason-registry') - if has_mason and mason_registry.has_package('codelldb') then + if has_mason and mason_registry.is_installed('codelldb') then local codelldb_package = mason_registry.get_package('codelldb') local mason_codelldb_path = compat.joinpath(codelldb_package:get_install_path(), 'extension') local codelldb_path = compat.joinpath(mason_codelldb_path, 'adapter', 'codelldb')