mirror of https://github.com/LazyVim/starter
feat: use animation for notify
parent
5cc30520ed
commit
2c5786f3eb
|
@ -125,19 +125,13 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"rcarriga/nvim-notify",
|
||||||
opts = {
|
opts = {
|
||||||
servers = { eslint = {} },
|
timeout = 2500,
|
||||||
setup = {
|
fps = 170,
|
||||||
eslint = function()
|
stages = "fade_in_slide_out",
|
||||||
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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue