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