From a3e0d85b8f499017f21b10140ffdfdfd083d0f9b Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 20 Aug 2023 12:19:51 +0530 Subject: [PATCH] show eol and white space characters --- home/programs/neovim.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 0d9b276..a5d29fd 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -18,6 +18,10 @@ fd ripgrep ]; + extraConfigLuaPre = '' + vim.opt.listchars:append "space:⋅" + vim.opt.listchars:append "eol:↴" + ''; globals = { gitblame_date_format = "%r"; }; @@ -27,6 +31,7 @@ clipboard = "unnamedplus"; expandtab = true; laststatus = 2; + list = true; number = true; relativenumber = true; shiftwidth = 2;