-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathchadrc.lua
More file actions
56 lines (50 loc) · 1.79 KB
/
chadrc.lua
File metadata and controls
56 lines (50 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
-- This file needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/NvChad/blob/v2.5/lua/nvconfig.lua
---@type ChadrcConfig
local M = {}
M.base46 = {
theme = "gruvbox",
hl_override = {
Comment = { italic = true },
["@comment"] = { italic = true },
DiffAdd = { fg = "#282828", bg = "#b8bb26", ctermfg = 142, ctermbg = 235 },
DiffChange = { fg = "#282828", bg = "#8ec07c", ctermfg = 108, ctermbg = 235 },
DiffDelete = { fg = "#282828", bg = "#fb4934", ctermfg = 167, ctermbg = 235 },
DiffText = { fg = "#282828", bg = "#fabd2f", ctermfg = 214, ctermbg = 235 },
LspReferenceText = { fg = "orange", bg = "NONE" },
LspReferenceRead = { fg = "orange", bg = "NONE" },
LspReferenceWrite = { fg = "orange", bg = "NONE" },
FloatBorder = { fg = "#4e4e4e", bg = "NONE" },
NormalFloat = { fg = "NONE", bg = "NONE" },
CmpBorder = { link = "FloatBorder" },
CmpDocBorder = { link = "CmpBorder" },
CmpDoc = { bg = "NONE" },
NvimTreeCursorLine = { link = "CursorLine" },
Pmenu = { bg = "#282828", fg = "#d5c4a1" },
},
}
M.ui = {
statusline = {
theme = "default",
order = { "mode", "file", "git", "diagnostics", "%=", "%=", "cursor", "lsp", "cwd" },
modules = {
cursor = "%#St_pos_text# %l:%c ",
-- 使用 tmux 状态栏查看时间
-- date = function()
-- return "%#St_Lsp# " .. os.date "%Y-%m-%d %H:%M:%S "
-- end,
-- 使用 :echo &filetype 查看文件类型
-- filetype = function()
-- return "%#St_filetype# " .. vim.bo.filetype
-- end,
},
},
tabufline = {
enabled = true,
lazyload = false,
order = { "buffers", "tabs", "btns" },
modules = nil,
},
}
vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "Debug", linehl = "", numhl = "" })
return M