-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
70 lines (60 loc) · 1.81 KB
/
init.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
-- local actions = require "telescope.actions"
-- theme settings
vim.o.background = "dark"
vim.g.everforest_transparent_background = 2
vim.g.gruvbox_baby_telescope_theme = 1
vim.g.gruvbox_baby_transparent_mode = 1
vim.g.gruvbox_material_transparent_background = 2
vim.g.gruvbox_material_background = "hard"
-- local schemes = { "gruvbox-material", "everforest", "nordfox", "duskfox" }
local config = {
-- Set colorscheme
-- colorscheme = schemes[math.random(1, 4)],
-- colorscheme = "duskfox",
colorscheme = "gruvbox-material",
-- colorscheme = "everforest",
-- colorscheme = "catppuccin",
-- colorscheme = "sonokai",
-- colorscheme = "default_theme",
-- Default theme configuration
default_theme = {
diagnostics_style = { italic = true },
-- Modify the color table
colors = { fg = "#abb2bf" },
-- Modify the highlight groups
highlights = function(highlights)
local C = require "default_theme.colors"
highlights.Normal = { fg = C.fg, bg = C.bg }
return highlights
end,
},
-- Disable default plugins
enabled = {
bufferline = true,
neo_tree = true,
lualine = true,
gitsigns = true,
colorizer = true,
toggle_term = true,
comment = true,
symbols_outline = true,
indent_blankline = true,
dashboard = true,
which_key = true,
neoscroll = true,
ts_rainbow = true,
ts_autotag = true,
},
-- Disable AstroNvim ui feature
ui = { nui_input = true, telescope_select = true },
-- Modify which-key registration
-- ["which-key"] = {
-- Add bindings to the normal mode <leader> mappings
-- register_n_leader = {
-- ["N"] = { "<cmd>tabnew<cr>", "New Buffer" },
-- },
-- },
-- Diagnostics configuration (for vim.diagnostics.config({}))
diagnostics = { virtual_text = true, underline = true },
}
return config