Hello I have write plugin which remember not closed buffers on exit and restore them on VimEnter event (http://www.vim.org/scripts/script.php? script_id=2733). There is problem, all opened buffers on VimEnter event have no syntax (syntax=[Empty]). I have add string, which check extension and set syntax=[Ext], but, how i can see in filetype.vim, there is many alias, it's mean if I set alias, no highlight set. I can duplicate rules of filetype.vim and check set ext by alias which follow on original extension, but it will be grand part of duplicate code , maybe there is way to do it more pure without dirty hacks ? :) Maybe i can call filetype.vim more early or something like that or there is way to set syntax by another way or there is event on which it would open buffers with syntax highlight?
Help me fellows! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
