irongit

A Neovim plugin enabling you to solve LeetCode problems.

38 lines801 BLua
1--------------------------------------------
2--- Alias
3--------------------------------------------
4---@alias lc.ui.position
5---| "left"
6---| "center"
7---| "right"
8
9--------------------------------------------
10--- Layout
11--------------------------------------------
12---@class lc.ui.padding
13---@field top? integer
14---@field right? integer
15---@field bot? integer
16---@field left? integer
17
18--------------------------------
19---@class lc-menu.cursor.pos
20---@field row integer
21---@field col integer
22
23---@class lc-menu.cursor
24---@field idx integer
25---@field prev integer[]|nil
26
27---@alias lc-menu.page
28---| "menu"
29---| "problems"
30---| "stats"
31---| "cookie"
32---| "cache"
33---| "signin"
34---| "loading"
35
36--------------------------------------------
37--- Leet Component
38--------------------------------------------