Skip to content

Commit

Permalink
feat: add lua type annotations to config
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed May 6, 2024
1 parent 2615669 commit cf39bc4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/cyberdream/config.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
local M = {}

---@class ThemeConfig
---@field colors? table<string, string>
---@field highlights? table<string, table<string, string>>

---@class Config
---@field transparent? boolean
---@field italic_comments? boolean
---@field hide_fillchars? boolean
---@field borderless_telescope? boolean
---@field terminal_colors? boolean
---@field theme? ThemeConfig
local default_options = {
transparent = false,
italic_comments = false,
Expand Down

0 comments on commit cf39bc4

Please sign in to comment.