diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-11 00:32:00 -0600 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-11 00:32:00 -0600 |
commit | d2811dd34138343d2458a1a8cb38ee74ce462b69 (patch) | |
tree | 295716ea1ecf79f3b0a8e3b7cc3f4bc2ca95c0e0 /nvim/init.vim | |
parent | 9599578a86346c91035314306093caaaeba928ec (diff) | |
download | dotconfig-d2811dd34138343d2458a1a8cb38ee74ce462b69.tar.xz dotconfig-d2811dd34138343d2458a1a8cb38ee74ce462b69.zip |
change vim colors and added indicators for spaces and tabs
Diffstat (limited to 'nvim/init.vim')
-rwxr-xr-x | nvim/init.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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] |