>
> On 9 ноя, 10:54, "Rene de Zwart" <[email protected]> wrote:
>> I wrote a plugin for assisting in (x)(ht)(x)ml editing.
>> However when
>>    filetype indent on
>> is specified it messes up some actions in my plugin
>> e.g.
>> \t\t<html>
>> becomes
>> <html>
>> \t\t|
>> </html>
>> AND I Expect it to become
>> \t\t<html>
>> \t\t\t
>> \t\t<html>
>>
>> I used filetype indent off in my plugin. Which is global and not
>> localized
>> to the buffer. It works but the side effects are to much.
>>
>> Has someone a solution?
>
> What about setting indent expression to nothing?
> 'setlocal indentexpr='
>
> You can add it to your filetype or autocmd.
>
> Best wishes,
> Maxim.
Fortunately the indent plugin runs after the ftplugin and over write the
index expression.

I even did
  let b:did_indent = 1
to no avail.

What you can do is make .vim/indent/html.vim with
let b:did_indent = 1
That does stop vim72/indent/html.vim from loading

Rene



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to