mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
update config
This commit is contained in:
parent
06f0332a8f
commit
4bf554b022
2 changed files with 10 additions and 1 deletions
|
@ -11,6 +11,12 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
vim.opt.lazyredraw = false
|
vim.opt.lazyredraw = false
|
||||||
require("noice").setup({
|
require("noice").setup({
|
||||||
|
messages = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
|
notify = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
lsp = {
|
lsp = {
|
||||||
progress = {
|
progress = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
|
|
|
@ -37,8 +37,11 @@ return {
|
||||||
event = { "BufRead" },
|
event = { "BufRead" },
|
||||||
config = function()
|
config = function()
|
||||||
require("lsp-progress").setup({
|
require("lsp-progress").setup({
|
||||||
|
client_format = function(client_name, spinner, series_messages)
|
||||||
|
return #series_messages > 0 and (spinner .. " " .. table.concat(series_messages, ", ")) or nil
|
||||||
|
end,
|
||||||
format = function(client_messages)
|
format = function(client_messages)
|
||||||
local sign = "" -- nf-fa-gear \uf013
|
local sign = ""
|
||||||
return #client_messages > 0 and (sign .. " " .. table.concat(client_messages, " ")) or sign
|
return #client_messages > 0 and (sign .. " " .. table.concat(client_messages, " ")) or sign
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue