-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchadrc.lua
116 lines (98 loc) · 4.53 KB
/
chadrc.lua
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---@type ChadrcConfig
local M = {}
-- Path to overriding theme and highlights files
local highlights = require "custom.highlights"
M.ui = {
theme = "nightowl",
theme_toggle = { "nightowl", "one_light" },
hl_override = highlights.override,
hl_add = highlights.add,
transparency = false,
lsp_semantic_tokens = true, -- needs nvim v0.9, just adds highlight groups for lsp semantic tokens
-- https://github.com/NvChad/base46/tree/v2.0/lua/base46/extended_integrations
extended_integrations = {}, -- these aren't compiled by default, ex: "alpha", "notify"
-- cmp themeing
cmp = {
icons = true,
lspkind_text = true,
style = "default", -- default/flat_light/flat_dark/atom/atom_colored
border_color ="cyan", -- only applicable for "default" style, use color names from base30 variables
selected_item_bg = "colored", -- colored / simple
},
telescope = { style = "bordered" }, -- borderless / bordered
------------------------------- nvchad_ui modules -----------------------------
statusline = {
theme = "default", -- default/vscode/vscode_colored/minimal
-- default/round/block/arrow separators work only for default statusline theme
-- round and block will work for minimal theme only
separator_style = "arrow",
overriden_modules = nil,
},
-- lazyload it when there are 1+ buffers
tabufline = {
show_numbers = true,
enabled = true,
lazyload = true,
overriden_modules = nil,
},
-- nvdash (dashboard)
nvdash = {
load_on_startup = true,
header = {
-- " ▄ ▄ ",
-- " ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ ",
-- " █ ▄ █▄█ ▄▄▄ █ █▄█ █ █ ",
-- " ▄▄ █▄█▄▄▄█ █▄█▄█▄▄█▄▄█ █ ",
-- " ▄ █▄▄█ ▄ ▄▄ ▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
-- " █▄▄▄▄ ▄▄▄ █ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █ ▄",
-- "▄ █ █▄█ █▄█ █ █ █▄█ █ █▄█ ▄▄▄ █ █",
-- "█▄█ ▄ █▄▄█▄▄█ █ ▄▄█ █ ▄ █ █▄█▄█ █",
-- " █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █▄█▄▄▄█ ",
-- [[ ______ ______ ]],
-- [[ _____|\ \ __ __ _____ _____|\ \ ]],
-- [[ / / | | / \ / \ / |_ / / | | ]],
-- [[| |/ /| / /| |\ \ / \ | |/ /| ]],
-- [[| |\____/ |/ // \\ \ | /\ \ | |\____/ | ]],
-- [[|\ \ | // \_____/ \ | | | \ |\ \ | / ]],
-- [[| \ \___|// /\_____/\ \ | \/ \ | \ \___|/ ]],
-- [[| \ \ / //\_____/\\ \ |\ /\ \| \ \ ]],
-- [[ \ \_____\ /____/ | | \____\| \_____\ \_____\\ \_____\ ]],
-- [[ \ | | | | | | | || | | | | \ | | ]],
-- [[ \|_____| |____|/ \|____| \|_____|\|_____| \|_____| ]],
-- [[ ____ ]],
-- [[ / ) / ]],
-- [[---/____/---/__----__------__-]],
-- [[ / / ) / ) / )]],
-- [[_/________/___/_(___(___/___/_]],
-- [[ / ]],
-- [[ / ]],
-- [[ ]],
-- [[ ]],
-- [[ ]],
-- [[ ]],
-- [[ ]],
-- [[ ]],
" NeoVim Xin Chào! ",
buttons = {
{ " Find File", "Spc f f", "Telescope find_files" },
{ " Recent Files", "Spc f o", "Telescope oldfiles" },
{ " Find Word", "Spc f w", "Telescope live_grep" },
{ " Bookmarks", "Spc m a", "Telescope marks" },
{ " Themes", "Spc t h", "Telescope themes" },
{ " Mappings", "Spc c h", "NvCheatsheet" },
},
},
cheatsheet = { theme = "grid" }, -- simple/grid
lsp = {
-- show function signatures i.e args as you type
signature = {
disabled = true,
silent = true, -- silences 'no signature help available' message from appearing
},
},
},
}
M.plugins = "custom.plugins"
-- check core.mappings for table structure
M.mappings = require "custom.mappings"
return M