From 2affc77679784c6f4ad69d6a8348cf3603e62a45 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 1 Jan 2024 20:15:17 +0300 Subject: nvim: update fidget config --- .config/nvim/lua/plugins/cmp.lua | 2 +- .config/nvim/lua/plugins/lsp.lua | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index 1bc209f..6a93009 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua @@ -143,7 +143,7 @@ return { }, { "L3MON4D3/LuaSnip", - event = "InsertEnter", + version = "v2.*", dependencies = { "honza/vim-snippets", }, diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 91cdebd..d55158e 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -188,10 +188,16 @@ return { "j-hui/fidget.nvim", event = "VeryLazy", opts = { - text = { - spinner = "triangle", - commenced = "started", -- message shown when task starts - completed = "done", -- message shown when task completes + progress = { + suppress_on_insert = true, + + display = { + render_limit = 4, + progress_icon = { + pattern = "triangle", + + }, + }, }, }, }, -- cgit v1.2.3-70-g09d2