On Wednesday, March 14, 2012 2:23:49 PM UTC-5, andrei kulakov wrote: > I've always had problems with html_autoclosetag plugin not closing some > tags, e.g. div and b, while it does close other tags, like table, td, p, > etc. Today I finally decided to figure out why it doesn't work. > > Looking at the plugin source, I see that main logic is in s:CloseTag(). > > I made sure that this is the function that gets called in html files by > doing :verbose imap > . > > However, when I add debug messages to s:CloseTag(), they do not get > displayed. I've added this line: > > echomsg "in CloseTag()" > > at the top of the function, but after I close a tag in html file and use > :messages command, it's not displayed. > > What could be causing this? >
If you have an echomsg, and you don't see the message in :messages, then I expect the function is just not being called for some reason (or is returning before your message). Did you exit and re-load Vim after modifying the plugin? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
