From d2811dd34138343d2458a1a8cb38ee74ce462b69 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sat, 11 Dec 2021 00:32:00 -0600 Subject: change vim colors and added indicators for spaces and tabs --- nvim/init.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nvim/init.vim') diff --git a/nvim/init.vim b/nvim/init.vim index d3f556c..b3cf6ba 100755 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -26,6 +26,8 @@ set smartcase " ...Unless the search term is capital set splitbelow splitright " Open splits on bottom/right instead of top/left set termguicolors " Enable GUI colors for the terminal to get truecolor set wildmode=longest,list,full " Enable file auto-complete +set listchars=tab:⇥\ \,space:· " Highlight tabs and spaces +set list " Show whitespace characters defined in listchars syntax on " Enable syntax highlighting " Filetype options @@ -84,7 +86,7 @@ endif " Behaviors exclusive to either the tty or a terminal emulator in a graphical environment function GetTermPID(temu) let pinfo = ['', getpid(), ''] - while !(pinfo[2] =~ a:temu) + while !(pinfo[2] =~ a:temu) let pinfo = split(system('ps h -o pid,ppid,command= -p' . pinfo[1])) endwhile return pinfo[0] -- cgit v1.2.3