Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Use less invasive listchars settings #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugin/indentguides.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ function! s:ToggleIndentGuides(user_initiated)
let g:original_listchars = get(g:, 'original_listchars', &g:listchars)

" TODO: figure out why checking each addition individually breaks things for tab (unicode?)
let listchar_guides = ',tab:' . g:indentguides_tabchar . ' ,trail:·'
let listchar_guides = 'tab:' . g:indentguides_tabchar . ' ,'
if &g:listchars !~ listchar_guides
let &g:listchars = &g:listchars . listchar_guides
let &g:listchars = listchar_guides . &g:listchars
endif
setlocal concealcursor=inc
setlocal conceallevel=2
Expand Down