From 1115f7492adf1c8fc862e69f6bca720324f537f6 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sat, 16 Apr 2022 11:59:53 -0700 Subject: [PATCH] rendered all spaces so I know I have four when I hit tab, spaces over tabs --- nvim/init.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index c2b912b5..8991c497 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -52,7 +52,7 @@ let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowTo " set indentLine to nvim colorscheme " let g:indentLine_setColors = 0 -set listchars=eol:↵,trail:· +set listchars=eol:↵,trail:·,space:· set list "enable AutoSave on start @@ -265,7 +265,7 @@ endfunction " function to remove trailing white spaces from document, simply type " :StripTrailingWhitespace when in Normal mode -command! -nargs=? -range=% -complete=custom,s:StripCompletionOptions +command! -nargs=? -range=% -complete=custom,s:StripTrailingWhitespace \ StripTrailingWhitespace ,call s:StripTrailingWhitespace() function! s:StripTrailingWhitespace(...) abort