diff --git a/lua/astrolsp/config.lua b/lua/astrolsp/config.lua index f04c266..8579f2b 100644 --- a/lua/astrolsp/config.lua +++ b/lua/astrolsp/config.lua @@ -14,6 +14,8 @@ ---@field name string? optional which-key mapping name ---@field cond AstroLSPCondition? condition for whether or not to set the mapping during language server attachment +---@alias AstroLSPMappings table?> + ---@class AstroLSPCommand: vim.api.keyset.user_command ---@field [1] string|function the command to execute ---@field cond AstroLSPCondition? condition for whether or not to create the user command during language server attachment @@ -235,7 +237,7 @@ --- } ---} ---``` ----@field mappings table?>? +---@field mappings AstroLSPMappings? ---A list like table of servers that should be setup, useful for enabling language servers not installed with Mason. ---Example: --