summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/init.vim')
-rwxr-xr-xnvim/init.vim4
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]