Added emmylua annotations where valuable

This commit is contained in:
2025-12-22 15:11:39 +00:00
parent 94c3b2e55e
commit 9296eb6b20
5 changed files with 26 additions and 0 deletions
+7
View File
@@ -1,3 +1,10 @@
---@class IconDef
---@field icon string
---@field color string
---@field cterm_color string
---@field name string
---@type table<string, IconDef>
return {
Ada = {
icon = "",
+11
View File
@@ -1,3 +1,13 @@
---@class Keymap
---@field [1] string LHS key
---@field [2] string|function RHS command or function
---@field desc string Description for which-key/vim.keymap
---@field mode? string|string[] Mode (n, v, i, etc.)
---@field expr? boolean Whether to use expression mapping
---@class KeyConfig : table<string, Keymap>
---@type KeyConfig
return {
groups = {
{ "<leader>s", group = "[S]earch", icon = "" },
@@ -310,6 +320,7 @@ return {
mode = "n",
},
},
---@param telescope_builtin table
telescope = function(telescope_builtin)
return {
{