Yggdroot / indentLine

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

After installation, it doesn't show any of the character #321

Closed robertwt7 closed 4 years ago

robertwt7 commented 4 years ago

Hey guys,

I'm not sure why this plugin is not working for my vim

Can anyone please help me see if what error am i getting?

VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul  5 2020 01:22:14)
macOS version
Included patches: 1-503, 505-680, 682-2292
Compiled by root@apple.com

I'm using vim plug, so here's list of my plugin

call plug#begin('~/.vim/plugged')

Plug 'morhetz/gruvbox'
Plug 'airblade/vim-gitgutter'
Plug 'editorconfig/editorconfig-vim'
Plug 'itchyny/lightline.vim'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'mattn/emmet-vim'
Plug 'scrooloose/nerdtree'
Plug 'terryma/vim-multiple-cursors'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-surround'
Plug 'w0rp/ale'
Plug 'Yggdroot/indentLine'
call plug#end()

Bottom of my vimrc


let g:indentLine_char_list = ['|', '¦', '┆', '┊']
let g:indentLine_color_term = get(g:, 'indentLine_color_term', 239)
let g:indentLine_char = get(g:, 'indentLine_char', '┊')
let g:indentLine_concealcursor = 'niv'
let g:indentLine_conceallevel = 2
let g:indentLine_fileType = ['*']
let g:indentLine_fileTypeExclude = ['help', 'man', 'startify', 'vimfiler']
let g:indentLine_enabled = 1     

Everytime I opened up any js files or other code, it doesn't show the char for the indent. Also any of the command from this plugin doesn't seem to be loaded:

*IndentLinesReset* [number]
                if 'shiftwidth' changes, using this command can redraw the
                indentLines. number is optional, it means the width between
                two indent level, if ommited, value of 'shiftwidth' is used.

*IndentLinesToggle*
                toggle the indent lines of the current buffer.

*IndentLinesEnable*
                enable the indent lines of the current buffer.

*IndentLinesDisable*
                disable the indent lines of the current buffer.

*LeadingSpaceEnable*
                enable the leading spaces of the current buffer.

*LeadingSpaceDisable*
                disable the leading spaces of the current buffer.

*LeadingSpaceToggle*
                toggle the leading spaces of the current buffer.

What's happening with my vim? Can anyone help please

Thanks

robertwt7 commented 4 years ago

Duplicate of #269 , closing