Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.13k stars 227 forks source link

Bashrc doesn't show lines correctly #350

Open eatthoselemons opened 3 years ago

eatthoselemons commented 3 years ago

I have indentLine working on other files but for some reason indentLine doesn't work on bashrc files:

      fgc=${fgc#37} # white    
      bgc=${bgc#40} # black    
  ▏ ▏ ▏    
      vals="${fgc:+$fgc;}${bgc}"    
      vals=${vals%%;}    
  ▏ ▏ ▏    
      seq0="${vals:+\e[${vals}m}"    
      printf "  %-9s" "${seq0:-(defaut)}"

The empty lines show the tab characters but not the actual lines, is there a reason that bashrc files wouldn't work?

file -i for bashrc: config-files/bashrc: text/plain; charset=utf-8

file -i for some files that work: README.md: text/plain; charset=us-ascii config-files/vimrc" text/plain; charset=utf-8 install.sh: text/plain; charset=us-ascii