mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
feat: use animation for notify
This commit is contained in:
parent
36cb6f1a98
commit
b03cccb152
1 changed files with 6 additions and 12 deletions
|
|
@ -125,19 +125,13 @@ return {
|
|||
},
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
"rcarriga/nvim-notify",
|
||||
opts = {
|
||||
servers = { eslint = {} },
|
||||
setup = {
|
||||
eslint = function()
|
||||
require("lazyvim.util").lsp.on_attach(function(client)
|
||||
if client.name == "eslint" then
|
||||
client.server_capabilities.documentFormattingProvider = true
|
||||
elseif client.name == "tsserver" then
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
end
|
||||
end)
|
||||
end,
|
||||
timeout = 2500,
|
||||
fps = 170,
|
||||
stages = "fade_in_slide_out",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue