pt 写道: > > Thank you.That's really helpful. > set nomodeline > However, is there a way to let vim detect such files correctly with modeline > detection open?
It depends on what's your definition of "correctly". Modeline will override the detection, which *is* the correct behavior of Vim. If you want to view it as html you should manually remove the modeline. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
