Matt Wozniski wrote: > On Fri, May 29, 2009 at 8:35 PM, Cesar Romani wrote: >> I'm using vim 7.2.184 on Windows XP. >> If I load a html file without extension, let's say "test" >> >> <?xml version="1.0" encoding="UTF-8"?> >> <html> >> <head> >> <title>Test</title> >> </head> >> <body> >> blah blah blah >> </body> >> </html> >> >> matchit doesn't work on it, notwithstanding the fact that I set >> set ft=html > > Works fine for me. Are you positive you didn't mistype something when > doing the :set ft=html ? If that's not it, maybe another autocmd is > getting in the way? > > ~Matt
Without the first line: <?xml version="1.0" encoding="UTF-8"?> works but not with it. If the file has the extension html, it works in all of cases. Thanks, Cesar --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
