I implemented a "-r" read-only switch in my Cream wrapper to call 
Cream_file_open_readonly() instead of Cream_file_open() on the specified 
file.  Unfortunately, the filetype isn't detected properly so although 
the file is opened readonly, there is no syntax highlighting.  I guess 
the addons haven't been all loaded yet when cream-user.vim is loaded.  
Is there some (autocmd?) hook I can use to defer the open until after 
all addons have loaded?

Ben


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
cream-general mailing list
cream-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to