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. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
