Reenable fidget
This commit is contained in:
parent
4fc013a680
commit
a4e6919899
@ -95,7 +95,10 @@ return {
|
||||
},
|
||||
{ 'simrat39/rust-tools.nvim' },
|
||||
{ 'onsails/lspkind-nvim' }, -- pictograms replace (?) with lspsaga
|
||||
{ 'j-hui/fidget.nvim' }, -- show lsp status
|
||||
{
|
||||
'j-hui/fidget.nvim',
|
||||
config = true
|
||||
}, -- show lsp status
|
||||
-- completion
|
||||
{
|
||||
'hrsh7th/nvim-cmp',
|
||||
@ -114,7 +117,7 @@ return {
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-n>"] = cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Insert },
|
||||
["<C-p>"] = cmp.mapping.select_prev_item { behavior = cmp.SelectBehavior.Insert },
|
||||
['<C-b>'] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }),
|
||||
['<C-b>'] = cmp.mapping(cmp.mapping.scroll_docs( -4), { 'i', 'c' }),
|
||||
['<C-f>'] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }),
|
||||
['<C-s>'] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }),
|
||||
['<C-y>'] = cmp.mapping.confirm({
|
||||
@ -133,8 +136,8 @@ return {
|
||||
{ name = 'path' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'nvim_lsp_signature_help' },
|
||||
}, {
|
||||
{ name = 'buffer', keyword_length = 5 },
|
||||
}, {
|
||||
{ name = 'buffer', keyword_length = 5 },
|
||||
}),
|
||||
formatting = {
|
||||
format = lspkind.cmp_format {
|
||||
@ -161,8 +164,8 @@ return {
|
||||
cmp.setup.cmdline(':', {
|
||||
sources = cmp.config.sources({
|
||||
{ name = 'path' }
|
||||
}, {
|
||||
{ name = 'cmdline' }
|
||||
}, {
|
||||
{ name = 'cmdline' }
|
||||
})
|
||||
})
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user