-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
ui.lua
93 lines (87 loc) · 1.9 KB
/
ui.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
return {
{
"akinsho/bufferline.nvim",
opts = {
options = {
mode = "tabs",
show_buffer_close_icons = false,
show_close_icon = false,
-- separator_style = "slant",
separator_style = { "", "" },
-- sort_by = "insert_after_current",
},
},
},
{
"nvim-lualine/lualine.nvim",
opts = function(_, opts)
opts.options.component_separators = { left = "", right = "" }
opts.options.section_separators = { left = "", right = "" }
local location = { "location", padding = { left = 0, right = 1 } }
table.insert(opts.sections.lualine_x, location)
table.insert(opts.sections.lualine_x, "filetype")
-- location
opts.sections.lualine_y = {}
-- time
opts.sections.lualine_z = {}
end,
},
{
"folke/noice.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-treesitter/nvim-treesitter",
},
opts = {
presets = {
bottom_search = false,
},
health = {
checker = false,
},
lsp = {
hover = {
silent = true,
},
},
notify = {
enabled = false,
},
commands = {
all = {
view = "split",
opts = { enter = true, format = "details" },
filter = {},
},
},
},
},
{
"b0o/incline.nvim",
event = { "BufReadPost" },
opts = {
highlight = {
groups = {
InclineNormal = {
default = true,
group = "CursorLine",
},
InclineNormalNC = {
default = true,
group = "TermCursorNC",
},
},
},
hide = {
cursorline = true,
},
window = {
margin = {
vertical = 0,
horizontal = 1,
},
zindex = 29, -- less than zen mode defualt, 40, 40 - 10
},
},
},
}