nvim: highlight trailing whitespaces

This commit is contained in:
Johannes Rothe 2024-12-22 00:23:05 +01:00
parent 9ef7e27f79
commit b6f36c12a0

View File

@ -1,12 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Trailing spaces in status line
imports = [ imports = [
./telescope.nix ./telescope.nix
]; ];
programs.nixvim = {
programs.nixvim = {
colorscheme = "sonokai"; colorscheme = "sonokai";
enable = true; enable = true;
extraPlugins = [ extraPlugins = [
@ -14,6 +11,7 @@
pkgs.vimPlugins.nvim-lspconfig pkgs.vimPlugins.nvim-lspconfig
pkgs.vimPlugins.polyglot pkgs.vimPlugins.polyglot
pkgs.vimPlugins.sonokai pkgs.vimPlugins.sonokai
pkgs.vimPlugins.vim-better-whitespace
]; ];
globals = { globals = {
mapleader = ","; mapleader = ",";