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
|
local ayu_colors = require('ayu.colors')
ayu_colors.generate() -- Pass `true` to enable mirage
require('ayu').setup({
overrides = {
WinSeparator = { fg = ayu_colors.comment, bg = ayu_colors.bg },
LineNrAbove = { fg = ayu_colors.comment },
LineNrBelow = { fg = ayu_colors.comment },
LineNr = { fg = ayu_colors.accent },
TerminalWindow = { fg = ayu_colors.fg, bg = ayu_colors.panel_bg },
ColorColumn = { bg = ayu_colors.error },
}
})
vim.cmd("colorscheme ayu-dark")
local ayu_dark_lualine_theme = require'lualine.themes.ayu_dark'
require('lualine').setup({
options = {
theme = ayu_dark_lualine_theme,
globalstatus = true,
},
})
local bufferline = require("bufferline")
local selected_buffer_bg = "#1E2126"
bufferline.setup {
options = {
style_preset = bufferline.style_preset.no_italic,
show_buffer_close_icons = false,
show_close_icon = false,
indicator = {
style = "none"
},
diagnostics = "coc",
},
highlights = {
buffer_selected = {
bg = selected_buffer_bg
},
diagnostic_selected = {
bg = selected_buffer_bg
},
hint_selected = {
bg = selected_buffer_bg
},
info_selected = {
bg = selected_buffer_bg
},
warning_selected = {
bg = selected_buffer_bg
},
error_selected = {
bg = selected_buffer_bg
},
indicator_selected = {
fg = ayu_colors.accent
}
}
}
|