From 2c5786f3eb0ea84c093857284bae9b5362f74225 Mon Sep 17 00:00:00 2001 From: fm39hz-laptop Date: Tue, 4 Jun 2024 00:42:02 +0700 Subject: [PATCH] feat: use animation for notify --- lua/plugins/override.lua | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/lua/plugins/override.lua b/lua/plugins/override.lua index f933ef3..c3c5a29 100644 --- a/lua/plugins/override.lua +++ b/lua/plugins/override.lua @@ -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", + }, + }, }, }, },