From bdcad8505f3ae37737df24df4cee26f3752f61f1 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Sat, 18 Nov 2023 07:59:56 -0700 Subject: [PATCH] Fix formatting; show hidden characters. --- configuration.nix | 1 + flake.nix | 4 ++-- jrpotter/neovim/default.nix | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7bb393a..f0bf913 100644 --- a/configuration.nix +++ b/configuration.nix @@ -46,6 +46,7 @@ customRC = '' set colorcolumn=80,100 set expandtab " Spaces instead of tabs. + set list " Show hidden characters. set shiftwidth=2 " # of spaces to use for each (auto)indent. set tabstop=2 " # of spaces a in the file counts for. ''; diff --git a/flake.nix b/flake.nix index fcce5c9..32420df 100644 --- a/flake.nix +++ b/flake.nix @@ -28,8 +28,8 @@ useGlobalPkgs = true; useUserPackages = true; users.jrpotter = import ./jrpotter; - }; - } + }; + } ]; }; }; diff --git a/jrpotter/neovim/default.nix b/jrpotter/neovim/default.nix index 55a43b8..c0bf1d8 100644 --- a/jrpotter/neovim/default.nix +++ b/jrpotter/neovim/default.nix @@ -111,6 +111,7 @@ in vim.g.maplocalleader = '\\' vim.o.colorcolumn = '80,100' vim.o.expandtab = true -- Spaces instead of tabs. + vim.o.list = true -- Show hidden characters. vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent. vim.o.tabstop = 2 -- # of spaces a in the file counts for. '')