indent.vim should not overload existing indent function

Bug #642309 reported by Manuel Pégourié-Gonnard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vim LaTeX Box
Fix Committed
Undecided
Unassigned

Bug Description

Hi,

indent.vim correctly sets b:did_indent, but doesn't check if it is already set. As a result, if the user already has a custom indent.tex.vim, its effects are lost.

Would you please consider adding

if exists("b:did_indent") | finish | endif

at the beginning of the file?

Thanks,
Manuel.

Changed in vim-latex-box:
assignee: nobody → David Munger (mungerd)
Revision history for this message
David Munger (mungerd-deactivatedaccount) wrote :

Thank you for providing the fix!

Changed in vim-latex-box:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.