From b6f36c12a0f187d7457f008fcc73f8a2287f7e50 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Sun, 22 Dec 2024 00:23:05 +0100 Subject: [PATCH] nvim: highlight trailing whitespaces --- home/terminal/nixvim/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/terminal/nixvim/default.nix b/home/terminal/nixvim/default.nix index 6b52415..b9d218b 100644 --- a/home/terminal/nixvim/default.nix +++ b/home/terminal/nixvim/default.nix @@ -1,12 +1,9 @@ { pkgs, ... }: { - # Trailing spaces in status line - imports = [ ./telescope.nix ]; - - programs.nixvim = { +programs.nixvim = { colorscheme = "sonokai"; enable = true; extraPlugins = [ @@ -14,6 +11,7 @@ pkgs.vimPlugins.nvim-lspconfig pkgs.vimPlugins.polyglot pkgs.vimPlugins.sonokai + pkgs.vimPlugins.vim-better-whitespace ]; globals = { mapleader = ",";