From 1314f2a8c8845712cd8bf027dcbd94a8233bc560 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 23 Jan 2024 18:33:50 +0100 Subject: vim: switch from nvim-notify to fidget.nvim along with the LSP progress view --- dotfiles/vim/lua/myConfig.lua | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/vim/lua/myConfig.lua b/dotfiles/vim/lua/myConfig.lua index f38b445..67f5d41 100644 --- a/dotfiles/vim/lua/myConfig.lua +++ b/dotfiles/vim/lua/myConfig.lua @@ -410,15 +410,6 @@ require("lualine").setup { icons_enabled = false, section_separators = "", }, - sections = { - lualine_c = { - "filename", - { - "lsp_progress", - display_components = { "lsp_client_name", { "title", "percentage", "message" } }, - }, - }, - }, } -- VSnip @@ -477,31 +468,13 @@ require("diffview").setup { enhanced_diff_hl = true, } --- Notify - -vim.cmd [[highlight link NotifyERRORBorder DiagnosticError]] -vim.cmd [[highlight link NotifyERRORIcon DiagnosticError]] -vim.cmd [[highlight link NotifyERRORTitle DiagnosticError]] - -vim.cmd [[highlight link NotifyWARNBorder DiagnosticWarn]] -vim.cmd [[highlight link NotifyWARNIcon DiagnosticWarn]] -vim.cmd [[highlight link NotifyWARNTitle DiagnosticWarn]] - -vim.cmd [[highlight link NotifyINFOBorder DiagnosticInfo]] -vim.cmd [[highlight link NotifyINFOIcon DiagnosticInfo]] -vim.cmd [[highlight link NotifyINFOTitle DiagnosticInfo]] +-- Fidget -vim.cmd [[highlight link NotifyDEBUGBorder DiagnosticHint]] -vim.cmd [[highlight link NotifyDEBUGIcon DiagnosticHint]] -vim.cmd [[highlight link NotifyDEBUGTitle DiagnosticHint]] - -vim.cmd [[highlight link NotifyDEBUGBorder GruvboxPurple]] -vim.cmd [[highlight link NotifyDEBUGIcon GruvboxPurple]] -vim.cmd [[highlight link NotifyDEBUGTitle GruvboxPurple]] - -require("notify").setup { stages = "static" } - -vim.notify = require("notify") +require("fidget").setup({ + notification = { + override_vim_notify = true, + }, +}) -- Comment -- cgit v1.2.3