Skip to content

Commit 611dbfb

Browse files
committed
update
1 parent 9e90c8e commit 611dbfb

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

lua/modules/completion/config.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ function config.lua_snip()
3737
})
3838
end
3939

40+
function config.lspsaga()
41+
require('lspsaga').setup({})
42+
end
4043
return config

lua/modules/completion/package.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ package({
99
config = conf.nvim_lsp,
1010
})
1111

12+
package({
13+
'glepnir/lspsaga.nvim',
14+
event = 'BufRead',
15+
dev = true,
16+
config = conf.lspsaga,
17+
})
18+
1219
package({
1320
'hrsh7th/nvim-cmp',
1421
event = 'InsertEnter',

lua/modules/ui/config.lua

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,20 @@ function config.nvim_bufferline()
4747
})
4848
end
4949

50-
function config.nvim_tree()
51-
require('nvim-tree').setup({
52-
disable_netrw = false,
53-
hijack_cursor = true,
54-
hijack_netrw = true,
50+
function config.indent_blankline()
51+
require('indent_blankline').setup({
52+
char = '',
53+
use_treesitter_scope = true,
54+
show_first_indent_level = true,
55+
show_current_context = false,
56+
show_current_context_start = false,
57+
show_current_context_start_on_current_line = false,
58+
filetype_exclude = {
59+
'dashboard',
60+
'log',
61+
'TelescopePrompt',
62+
},
63+
buftype_exclude = { 'terminal', 'nofile', 'prompt' },
5564
})
5665
end
5766

lua/modules/ui/package.lua

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ package({ 'glepnir/zephyr-nvim', config = conf.zephyr })
66
package({ 'glepnir/dashboard-nvim', config = conf.dashboard })
77

88
package({
9-
'nvim-tree/nvim-tree.lua',
10-
cmd = 'NvimTreeToggle',
11-
config = conf.nvim_tree,
9+
'akinsho/nvim-bufferline.lua',
10+
config = conf.nvim_bufferline,
1211
dependencies = { 'nvim-tree/nvim-web-devicons' },
1312
})
1413

15-
package({ 'akinsho/nvim-bufferline.lua', config = conf.nvim_bufferline, dependencies = { 'nvim-tree/nvim-web-devicons'} })
14+
package({
15+
'lukas-reineke/indent-blankline.nvim',
16+
event = 'BufRead',
17+
config = conf.indent_blankline,
18+
})

0 commit comments

Comments
 (0)