summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/vim.nix3
-rw-r--r--dotfiles/vim/lua/myConfig.lua39
2 files changed, 7 insertions, 35 deletions
diff --git a/common/vim.nix b/common/vim.nix
index 481542a..8d872dc 100644
--- a/common/vim.nix
+++ b/common/vim.nix
@@ -63,7 +63,6 @@ inputs: {
63 undotree 63 undotree
64 gruvbox-community 64 gruvbox-community
65 lualine-nvim 65 lualine-nvim
66 lualine-lsp-progress
67 (gitsigns-nvim.overrideAttrs (_old: { 66 (gitsigns-nvim.overrideAttrs (_old: {
68 src = pkgs.fetchFromGitHub { 67 src = pkgs.fetchFromGitHub {
69 owner = "lewis6991"; 68 owner = "lewis6991";
@@ -73,7 +72,7 @@ inputs: {
73 }; 72 };
74 })) 73 }))
75 diffview-nvim 74 diffview-nvim
76 nvim-notify 75 fidget-nvim
77 indent-blankline-nvim 76 indent-blankline-nvim
78 oil-nvim 77 oil-nvim
79 dressing-nvim 78 dressing-nvim
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
482vim.cmd [[highlight link NotifyERRORBorder DiagnosticError]]
483vim.cmd [[highlight link NotifyERRORIcon DiagnosticError]]
484vim.cmd [[highlight link NotifyERRORTitle DiagnosticError]]
485
486vim.cmd [[highlight link NotifyWARNBorder DiagnosticWarn]]
487vim.cmd [[highlight link NotifyWARNIcon DiagnosticWarn]]
488vim.cmd [[highlight link NotifyWARNTitle DiagnosticWarn]]
489
490vim.cmd [[highlight link NotifyINFOBorder DiagnosticInfo]]
491vim.cmd [[highlight link NotifyINFOIcon DiagnosticInfo]]
492vim.cmd [[highlight link NotifyINFOTitle DiagnosticInfo]]
493 472
494vim.cmd [[highlight link NotifyDEBUGBorder DiagnosticHint]] 473require("fidget").setup({
495vim.cmd [[highlight link NotifyDEBUGIcon DiagnosticHint]] 474 notification = {
496vim.cmd [[highlight link NotifyDEBUGTitle DiagnosticHint]] 475 override_vim_notify = true,
497 476 },
498vim.cmd [[highlight link NotifyDEBUGBorder GruvboxPurple]] 477})
499vim.cmd [[highlight link NotifyDEBUGIcon GruvboxPurple]]
500vim.cmd [[highlight link NotifyDEBUGTitle GruvboxPurple]]
501
502require("notify").setup { stages = "static" }
503
504vim.notify = require("notify")
505 478
506-- Comment 479-- Comment
507 480