-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathconfig.lua
More file actions
61 lines (56 loc) · 1.3 KB
/
config.lua
File metadata and controls
61 lines (56 loc) · 1.3 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
57
58
59
60
61
local config = {}
function config.zephyr()
vim.cmd('colorscheme zephyr')
end
function config.dashboard()
local db = require('dashboard')
db.setup({
theme = 'hyper',
config = {
week_header = {
enable = true,
},
shortcut = {
{ desc = ' Update', group = '@property', action = 'Lazy update', key = 'u' },
{
desc = ' Files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
{
desc = ' config',
group = 'Number',
action = 'Telescope nvim_user_config',
key = 'c',
},
},
},
})
end
function config.nvim_bufferline()
require('bufferline').setup({
options = {
modified_icon = '✥',
buffer_close_icon = '',
always_show_bufferline = false,
},
})
end
function config.indent_blankline()
require('indent_blankline').setup({
char = '│',
use_treesitter_scope = true,
show_first_indent_level = true,
show_current_context = false,
show_current_context_start = false,
show_current_context_start_on_current_line = false,
filetype_exclude = {
'dashboard',
'log',
'TelescopePrompt',
},
buftype_exclude = { 'terminal', 'nofile', 'prompt' },
})
end
return config