【发布时间】:2012-04-26 09:32:49
【问题描述】:
可能重复:
Why is vim drawing underlines on the place of tabs and how to avoid this?
在 CentOS 5.x 上的 VIM 7.0 中缩进 PHP 代码时,HTML 链接显示为下划线。这非常方便,但在某些地方我在该 HTML 中缩进了 PHP 代码,并且整个缩进都带有下划线:
<li class="picture">
________________<a href="<?=$linkUrl?>">
____________________<img src="/<?=$img['source']?>" alt="Picture"/>
____________________<? if ($someCondition): ?><span class="info"><?=$img['info']?></span><? endif; ?>
________________</a>
</li>
有没有办法告诉语法高亮器忽略 HTML 链接中的行前空白?
【问题讨论】:
标签: vim