-
-
Notifications
You must be signed in to change notification settings - Fork 232
indentLine not appearing #59
Comments
do you indent code with spaces or tabs? |
spaces On Fri, Oct 25, 2013 at 4:36 PM, Yggdroot notifications@github.com wrote:
|
If I add additional code then the indent lines display On Sat, Oct 26, 2013 at 12:31 AM, Lee Brooks leebrooks0@gmail.com wrote:
|
Same issue, I have:
set in my |
I was having the same issue in vim 7.4, but then I set g:indentLine_color_term to a different value, reloaded, and boom! Happy indent lines again! |
I'm also experiencing this problem. My vim version is 7.3. I'm indenting with spaces and not tabs. I tried changing the g:indentLine_color_term to many different values but nothing shows up. |
Same issue here. I'm using MacVim 7.4. |
I was having the same issue, but selecting the text and aligning (equal sign) showed the indent lines. Subsequent edits worked fine. |
@cursivecode I guess the code is indented with tabs before aligning. |
Using Vim 7.4 . I see the same issue. I work around this issue by having the following in my .vimrc au BufRead,BufEnter,BufNewFile * IndentLinesReset "Workaround for issue #59 |
@dvinothkumar I was having the same issue with the plugin, and I tried you line of code, but it doesn't work, are you sure you are listing your right code here: |
Instead of putting this in vimrc, first try if executing IndentLinesReset On Wed, May 20, 2015 at 9:43 AM, Jialun Liu notifications@github.com
|
jl4347's fix seems to have worked for me... also running vim 7.4 thanks! Very strange, it worked for a moment, and on my next reload of Vim it no longer appears to work. |
Another update. I use brew to install vim. I just unlinked vim, and built it from source using I'm not too familiar with the inner workings of vim, but I did try to |
Aha. Another update. I had a big mixup. I've been typing |
This is related to the Solution:
|
Vim 7.3 Tryed all above, still not working... |
When i call :IndentLinesToggle It shows command not found. And Yes I ran :BundleInstall Heres my vimrc: `1 set nocompatible 2 filetype off 3 4 set rtp+=~/.vim/bundle/vundle/ 5 |
I also had Vim 7.3 and this plugin was not working. Try running
If you get back a 0, I think you are in trouble. Probably earlier minor versions of 7.3 did not have |
I just recompiled vim from source with: $ vim --version # before
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 27 2016 08:43:27)
MacOS X (unix) version
Included patches: 1-104
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt -tcl
-balloon_eval +folding +mouse_xterm +termguicolors
-browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset -gettext -mzscheme +textobjects
+channel -hangul_input +netbeans_intg +timers
+cindent +iconv +num64 +title
-clientserver +insert_expand +packages -toolbar
+clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist +perl +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak +python +vreplace
+cscope +lispindent -python3 +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con -lua +rightleft +writebackup
+diff +menu +ruby -X11
+digraphs +mksession +scrollbind -xfontset
-dnd +modify_fname +signs -xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags -mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra -mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv -framework Cocoa -mmacosx-version-min=10.12 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -F/usr/local/opt/python/Frameworks -framework Python -lruby.2.3.0 -lobjc -L/usr/local/Cellar/ruby/2.3.3/lib $ vim --version # after
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 1 2016 12:43:54)
MacOS X (unix) version
Included patches: 1-106
Compiled by Homebrew
Huge version without GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_sgr +tag_old_static
+arabic +find_in_path -mouse_sysmouse -tag_any_white
+autocmd +float +mouse_urxvt -tcl
-balloon_eval +folding +mouse_xterm +termguicolors
-browse -footer +multi_byte +terminfo
++builtin_terms +fork() +multi_lang +termresponse
+byte_offset -gettext -mzscheme +textobjects
+channel -hangul_input +netbeans_intg +timers
+cindent +iconv +num64 +title
-clientserver +insert_expand +packages -toolbar
+clipboard +job +path_extra +user_commands
+cmdline_compl +jumplist +perl +vertsplit
+cmdline_hist +keymap +persistent_undo +virtualedit
+cmdline_info +lambda +postscript +visual
+comments +langmap +printer +visualextra
+conceal +libcall +profile +viminfo
+cryptv +linebreak +python +vreplace
+cscope +lispindent -python3 +wildignore
+cursorbind +listcmds +quickfix +wildmenu
+cursorshape +localmap +reltime +windows
+dialog_con -lua +rightleft +writebackup
+diff +menu +ruby -X11
+digraphs +mksession +scrollbind -xfontset
-dnd +modify_fname +signs -xim
-ebcdic +mouse +smartindent -xpm
+emacs_tags -mouseshape +startuptime -xsmp
+eval +mouse_dec +statusline -xterm_clipboard
+ex_extra -mouse_gpm -sun_workshop -xterm_save
+extra_search -mouse_jsbterm +syntax
+farsi +mouse_netterm +tag_binary
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv -framework Cocoa -mmacosx-version-min=10.12 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.24.0_1/lib/perl5/5.24.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -F/usr/local/opt/python/Frameworks -framework Python -lruby.2.3.0 -lobjc -L/usr/local/Cellar/ruby/2.3.3/lib $ diff diff before.txt after.txt
1c1
< VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 27 2016 08:43:27)
---
> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 1 2016 12:43:54)
3c3
< Included patches: 1-104
---
> Included patches: 1-106 |
I install both python-mode and vim-go plugin, it works when I edit python file ,but not works for go file. I wonder if vim-go has conflicts with indentLine. |
I added the following
it gives me Any clue how I can fix it? |
I recently upgraded to OS X High Sierra and the out of the box Simply doing |
I install both python-mode and vim-go plugin, it works when I edit python file ,but not works for go file. I wonder if vim-go has conflicts with indentLine. too!!! |
@reubinoff your vim does not support |
How to enable it? |
you should compile vim yourself. |
The regular homebrew build of vim also has +conceal so compiling from source shouldn't be necessary (@reubinoff your vim is the system vim from Apple, you need to either install from homebrew or, as @Yggdroot said, compile vim yourself) |
@funkyHat thanks |
I couldn't figure out why this plugin wouldn't work for me for quite a while, till I read Yggdroot#59. This adds a note to the README to let users know they need +conceal compiled in.
I was having trouble getting the plugin working. I noticed that if I made a bunch of spaces in a new line in any file, I'd get indent guides, however spaces that were automatically created (e.g. auto indenting in a scope) was not working. After commenting out various parts of my From the looks of it, it looks like folds aren't compatible with indentLine (at least with the current nightly version of nvim)... I disabled all of my configs beside For anyone reading this and applying my fix, make sure you're clearing your views folder to get rid of any saved folds if you are using views. |
I am using Vim 7.4 and have this in my .vimrc
Bundle 'Yggdroot/indentLine'
When I :BundleInstall and restart I see nothing?
The text was updated successfully, but these errors were encountered: