indentLine icon indicating copy to clipboard operation
indentLine copied to clipboard

vim-pug (jade): indent lines are disappearing after ~20lines

Open f1nnix opened this issue 9 years ago • 6 comments

So, the title says :) indentLine works like a charm, however breaks on heavily indented .jade files. Here's the screen:

screen shot 2016-07-13 at 02 35 28

Vim 7.4, macOS. I'd be happy to provide more info, as far as I notice any important detail regarding this behaviour

P.S. Awesome plugin, thank you 👍

f1nnix avatar Jul 12 '16 23:07 f1nnix

BTW, syntax highlighting also breaks, so it may be related to vim-pug rather than indentLine itself (not sure how exactly, not a VIM guru to be honest, just a guess).

f1nnix avatar Jul 12 '16 23:07 f1nnix

This happens to me in html files, tags like <style> or <script> just show one indentline and the rest is blank. 2016-07-30-040442_1366x768_scrot

doble-d avatar Jul 30 '16 09:07 doble-d

Yeah this plugin sometimes seems to have a mind of its own:

screen shot 2017-02-03 at 5 00 29 pm

mikew avatar Feb 03 '17 21:02 mikew

if you use tmux2.4 + iterm2 + neovim0.2 +vim-colors-solarized:

try:

https://github.com/altercation/vim-colors-solarized#option-details

image

let g:solarized_termtrans=1

kaidiren avatar May 16 '17 07:05 kaidiren

Please update the plugin, I think this issue has been fixed already.

Yggdroot avatar May 16 '17 09:05 Yggdroot

The syntax-stops-working-halfway I believe is vim's fault. I have this binding set up that solves it:

nnoremap <silent> <leader>sy :syntax sync fromstart<cr>

You can also set it in an autogroup if you have it always happen to some types of files.

mblarsen avatar Nov 07 '17 05:11 mblarsen