Skip to content

Commit

Permalink
fix: type mismatch when assigning vim.fn.saveview() to opts.view
Browse files Browse the repository at this point in the history
Replace @Class with @alias for quicker.WinViewDict
  • Loading branch information
drowning-cat committed Jan 23, 2025
1 parent 60c24ef commit 48329b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/quicker/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ M.is_open = function(loclist_win)
end

---@class quicker.OpenCmdMods: vim.api.keyset.parse_cmd.mods
---@class quicker.WinViewDict: vim.fn.winrestview.dict
---@alias quicker.WinViewDict vim.fn.winrestview.dict

---@class (exact) quicker.OpenOpts
---@field loclist? boolean Toggle the loclist instead of the quickfix list
Expand Down

0 comments on commit 48329b1

Please sign in to comment.