diff options
author | Minijackson <minijackson@riseup.net> | 2024-01-23 18:33:50 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2024-01-23 18:33:50 +0100 |
commit | 1314f2a8c8845712cd8bf027dcbd94a8233bc560 (patch) | |
tree | b3116f7a0a06bff16b7fee22f687beb83c7508dc /dotfiles/vim | |
parent | 4c5c478f865d042e66cc59f510f9704e7fe22cb0 (diff) | |
download | nixos-config-reborn-1314f2a8c8845712cd8bf027dcbd94a8233bc560.tar.gz nixos-config-reborn-1314f2a8c8845712cd8bf027dcbd94a8233bc560.zip |
vim: switch from nvim-notify to fidget.nvim
along with the LSP progress view
Diffstat (limited to 'dotfiles/vim')
-rw-r--r-- | dotfiles/vim/lua/myConfig.lua | 39 |
1 files changed, 6 insertions, 33 deletions
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 { | |||
410 | icons_enabled = false, | 410 | icons_enabled = false, |
411 | section_separators = "", | 411 | section_separators = "", |
412 | }, | 412 | }, |
413 | sections = { | ||
414 | lualine_c = { | ||
415 | "filename", | ||
416 | { | ||
417 | "lsp_progress", | ||
418 | display_components = { "lsp_client_name", { "title", "percentage", "message" } }, | ||
419 | }, | ||
420 | }, | ||
421 | }, | ||
422 | } | 413 | } |
423 | 414 | ||
424 | -- VSnip | 415 | -- VSnip |
@@ -477,31 +468,13 @@ require("diffview").setup { | |||
477 | enhanced_diff_hl = true, | 468 | enhanced_diff_hl = true, |
478 | } | 469 | } |
479 | 470 | ||
480 | -- Notify | 471 | -- Fidget |
481 | |||
482 | vim.cmd [[highlight link NotifyERRORBorder DiagnosticError]] | ||
483 | vim.cmd [[highlight link NotifyERRORIcon DiagnosticError]] | ||
484 | vim.cmd [[highlight link NotifyERRORTitle DiagnosticError]] | ||
485 | |||
486 | vim.cmd [[highlight link NotifyWARNBorder DiagnosticWarn]] | ||
487 | vim.cmd [[highlight link NotifyWARNIcon DiagnosticWarn]] | ||
488 | vim.cmd [[highlight link NotifyWARNTitle DiagnosticWarn]] | ||
489 | |||
490 | vim.cmd [[highlight link NotifyINFOBorder DiagnosticInfo]] | ||
491 | vim.cmd [[highlight link NotifyINFOIcon DiagnosticInfo]] | ||
492 | vim.cmd [[highlight link NotifyINFOTitle DiagnosticInfo]] | ||
493 | 472 | ||
494 | vim.cmd [[highlight link NotifyDEBUGBorder DiagnosticHint]] | 473 | require("fidget").setup({ |
495 | vim.cmd [[highlight link NotifyDEBUGIcon DiagnosticHint]] | 474 | notification = { |
496 | vim.cmd [[highlight link NotifyDEBUGTitle DiagnosticHint]] | 475 | override_vim_notify = true, |
497 | 476 | }, | |
498 | vim.cmd [[highlight link NotifyDEBUGBorder GruvboxPurple]] | 477 | }) |
499 | vim.cmd [[highlight link NotifyDEBUGIcon GruvboxPurple]] | ||
500 | vim.cmd [[highlight link NotifyDEBUGTitle GruvboxPurple]] | ||
501 | |||
502 | require("notify").setup { stages = "static" } | ||
503 | |||
504 | vim.notify = require("notify") | ||
505 | 478 | ||
506 | -- Comment | 479 | -- Comment |
507 | 480 | ||