embedded = prefs.getBoolean(PreferenceConstants.P_EMBED);
// disabling documentListen until there is a really good reason to have,
// cause it is by far the buggest part of vim's netbeans interface.
documentListen = false; //plugin.gvimNbDocumentListenSupported();
if (embedded){
if (!plugin.gvimEmbedSupported()){
String message = plugin.getMessage(
"gvim.not.supported",
plugin.getMessage("gvim.embed.not.supported"));
throw new RuntimeException(message);
}