From 17068755afa3fc8bf26de9c105cc97dc6a4415d5 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 22 Aug 2022 11:45:48 +0200 Subject: [PATCH] Add neovim plugin ultest to show test summary and status I use this to show icons beside methods to see which tests are fine and which are broken. Same for summary. I also update my colorscheme to support this plugin. --- home/programs/neovim.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 14e4f19..572cd59 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -17,8 +17,8 @@ let name = "colorscheme-smyckblue"; src = pkgs.fetchgit { url = "https://gitea.daniel-siepmann.de/danielsiepmann/vim-colorscheme-smyckblue.git"; - rev = "v1.1.1"; - sha256 = "sha256-MxkgNfezyZEJwlKDQJXmIUpj5MzUJ2E66cZB8JchG78="; + rev = "v1.2.0"; + sha256 = "sha256-sPb+okBt060i3eYPIRwXK9O9aCE35z09vxexqv++BH0="; }; }; @@ -352,6 +352,16 @@ in { config = builtins.readFile(./neovim/plugins/test.vim); } + # I don't like the approach of https://github.com/nvim-neotest/neotest. + # It enforces me to use adapters and only supports some frameworks, + # I prefer ultest which is a wrapper around the test plugin from above. + { + plugin = vim-ultest; + config = '' + let g:ultest_deprecation_notice = 0 + ''; + } + # Presentations presenting-vim goyo-vim