Skip to content

Commit

Permalink
docs: add missing AstroLSPMappings type
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 30, 2024
1 parent 2f6b0a4 commit fb039e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/astrolsp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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<string,table<string,(AstroLSPMapping|string|false)?>?>

---@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
Expand Down Expand Up @@ -235,7 +237,7 @@
--- }
---}
---```
---@field mappings table<string,table<string,(AstroLSPMapping|string|false)?>?>?
---@field mappings AstroLSPMappings?
---A list like table of servers that should be setup, useful for enabling language servers not installed with Mason.
---Example:
--
Expand Down

0 comments on commit fb039e3

Please sign in to comment.